added ng-repeat for messages