Added handler for errors while loading Friends list.

Added error handler & displayed pop-up message when there is an error while loading the Friends list. Refactored the $http request to use the fluent method calls "success" and "error" for readability.