Authentication demo using AngularJS and Firebase