angularjs updatePassword working - at last!