Uses AngularJS to get message details and display them