This is an slightly enhanced version of the basic ng-lift chat example