angularJS app using Firebase backend API