When trying to change the password, I get the following error below the form in the view: > Error: Firebase.changePassword failed: First argument must contain the key "email" with type "string" Change password in **account.js** looks like: ``` $scope.changePassword = function(oldPass, newPass, confirm) { $scope.err = null; if( !oldPass || !newPass ) { error('Please enter all fields'); } else if( newPass !== confirm ) { error('Passwords do not match'); } else { Auth.$changePassword({email: profile.email, oldPassword: oldPass, newPassword: newPass}) .then(function() { success('Password changed'); }, error); } }; ```
When trying to change the password, I get the following error below the form in the view:
Change password in account.js looks like: