We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae1170 commit 33ee90cCopy full SHA for 33ee90c
guide/angular-cache/basics.md
@@ -80,12 +80,12 @@ angular.module('app', ['angular-data.DSCacheFactory'])
80
81
DSCacheFactoryProvider.setCacheDefaults({
82
maxAge: 3600000,
83
- deleteOnExpire: 'aggressive',
84
- onExpire: function (key, value) {
85
- $http.get(key).success(function (data) {
86
- profileCache.put(key, data);
87
- });
88
- }
+ deleteOnExpire: 'aggressive',
+ onExpire: function (key, value) {
+ $http.get(key).success(function (data) {
+ profileCache.put(key, data);
+ });
+ }
89
});
90
91
```
0 commit comments