This repository was archived by the owner on Mar 17, 2025. It is now read-only.
v0.6.0
$on()now accepts regular Firebase events as an argument. In addition to "loaded" and "change", you may also subscribe for events like "value" and "child_added". (Full list of events available here).$set(),$save(),$add()and$remove()now all return promises. The promises will be resolved when the corresponding changes have been made on the server, or will be rejected with an appropriate error object.$auth()was added to objects returned by$firebase. This method is intended to be used for custom authentication. If you have custom generated tokens, pass them in to this function (it behaves identical to theFirebase.auth()method).- The
$firebaseAuthservice was renamed to$firebaseSimpleLogin. $firebaseSimpleLoginno longer accepts a custom authentication token.- The "anonymous" authentication provider has been added to
$firebaseSimpleLogin. $changePassword(),$createUser(), and$removeUser()were added to the$firebaseSimpleLoginservice. These behave identical to the corresponding Simple Login methods.- Added
$getCurrentUser()to the$firebaseSimpleLoginservice. It returns a promise that will resolve to the user object when they log in.