An Angular wrapper for Firebase email/password authentication using AngularFire.
Install with Bower...
bower install --save angularfire-authentication
Get it on your page...
<!-- index.html -->
<script src="/bower_components/angularfire-authentication/angularfire-authentication.js"></script>
Add as module dependency and pass in your firebase endpoint...
//app.js
angular.module('MyAwesomeApp', ['quiver.angularfire-authentication'])
.config(function (AngularFireAuthenticationProvider) {
AngularFireAuthenticationProvider.setEndpoint('https://my-firebase.firebaseio.com/');
});
Inject the service across your app as $qvAuth
.
Check out a sample implementation in sample-controller.js and sample-app.js.