Simple AngularJS service for ImgCache.js