ionic-cache-src icon indicating copy to clipboard operation
ionic-cache-src copied to clipboard

Preload images when the app is launched

Open ai2010 opened this issue 7 years ago • 0 comments

Hello,

I would like to load the images in cache when the app is launched so that when the user open some screen the images are already loaded. Can I use: module.controller('Ctrl', function(cacheSrcStorage) { cacheSrcStorage.get('url') // === the local cache path for 'url' });

Module does not exist in my app, what should I call instead? instead of 'get' I put 'set'? Thanks,

ai2010 avatar Mar 14 '17 18:03 ai2010