Skip to content

Commit aed923f

Browse files
committed
Merge pull request #218 from stigok/patch-1
Update README.md
2 parents e1e61c9 + c46a3d5 commit aed923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ angular.module('myApp', ['angular-cache'])
3131
.config(function (CacheFactoryProvider) {
3232
angular.extend(CacheFactoryProvider.defaults, { maxAge: 15 * 60 * 1000 });
3333
})
34-
.service('BookService', function (CacheFactory) {
34+
.service('BookService', function (CacheFactory, $http) {
3535
if (!CacheFactory.get('bookCache')) {
3636
// or CacheFactory('bookCache', { ... });
3737
CacheFactory.createCache('bookCache', {

0 commit comments

Comments
 (0)