Use ng-src instead of src for dynamic images
Add better error handling
Cleanup app.js