angular.js app to display messages