Can't Update User Email in Backend

For some reason this doesn’t work specifically for updating a user’s email:

$scope.update = function() {
	var user = Ionic.User.current(); = $;
	var success = function(response) {
                console.log(user.details)           //this shows the updated email
        var failure = function(error) {
                console.log('there was an error saving account update');
         }, failure);	

The success shows the updated email, but in the backend, nothing changes.

Also, if I add an Ionic.User.load function into the success function, the loaded user has the old email.

Other details like “name” work perfectly fine, this is only for “email.”