0.0.1 • Published 9 years ago

ng-firebase-auth v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

ng-firebase-auth

A set of diretives for handling authentication in AngularJS using Firebase.

Dependencies

  • AngularJS
  • Firebase

Features

Social Login

  <div ng-controller="HomeCtrl">
    <ng-fire-social firebase="firebase"></ng-fire-social>
  </div>
  angular
    .module('app')
    .controller('HomeCtrl', function(Firebase) {
      var ref = new Firebase('<Your Firebase URL>');
      this.firebase = ref;
    });

Simply drop the HTML above into the template where you want the social login to appear and pass it a reference to your Firebase.