Removes unneeded import.
Use a better structure for angular stuff
Added use strict for consistency.
Refactor imageService so that I don't have to write $q.defer() on every method.
Minor tweaks/improvements.