Preloading Images In AngularJS With Promises
If you break the image lifecycle into two parts – image loading and image rendering – you can start to see that part of the image lifecycle is about the data model and, therefore, can be handled by either a Controller or, more appropriately, by a Service.Permalink