We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1e61c9 + c46a3d5 commit aed923fCopy full SHA for aed923f
README.md
@@ -31,7 +31,7 @@ angular.module('myApp', ['angular-cache'])
31
.config(function (CacheFactoryProvider) {
32
angular.extend(CacheFactoryProvider.defaults, { maxAge: 15 * 60 * 1000 });
33
})
34
- .service('BookService', function (CacheFactory) {
+ .service('BookService', function (CacheFactory, $http) {
35
if (!CacheFactory.get('bookCache')) {
36
// or CacheFactory('bookCache', { ... });
37
CacheFactory.createCache('bookCache', {
0 commit comments