I'm trying to use angular-cache 4.0.2 with Angular 1.3.15 and $resource
I replaced
var cache = $cacheFactory('users');
with
CacheFactory.createCache('users');
var cache = CacheFactory.get('users');
in my $resource, where 1 action was:
getUsers: {
method: 'GET',
cache: cache
},
I saw that the cace was no longer working -- the same HTTP request was being done 4 times, as opposed to only once with the regular $cacheFactory
Is Angular 1.3.x plus $resource supported?
-Victor