Added error reporting for the server
Added ng-src

This will let angularjs decide when to load the image