AngularJS app with Firebase