Example of using AngularFire to implement a realtime data application