AngularJS and Firebase test