Basic chat room in AngularJS with firebase