Hi there,
Im not so sure if its the right place to post this but m getting the following error when trying to fetch cached data:
TypeError: Cannot call method ‘get’ of undefined angular cache
Everything seems to be fine in Chrome but in both emulators, Genymotion and android, I’m getting the above error.
Ive set the initial call in the app.js like this: DSCacheFactory(“generalDataCache”, {storageMode:“localStorage”,maxAge: 10000, deleteOnExpire: “aggressive”});
and in my service: self.generalCache = DSCacheFactory.get(“generalDataCache”);
and getting the exception on the following get method: self.generalCache.get(cacheKey);