Messaging angularjs example app