Building real-time applications with Firebase and AngularJS