angularfire-authentication

An Angular wrapper for Firebase email/password authentication using AngularFire.

MIT License

Stars
4
Committers
1

angularfire-authentication

An Angular wrapper for Firebase email/password authentication using AngularFire.

Installation

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/');
  });

Use

Inject the service across your app as $qvAuth.

Check out a sample implementation in sample-controller.js and sample-app.js.