Notifications system using AngularJS and Firebase