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.
2 parents 36d19b7 + 33ee90c commit aab9bb1Copy full SHA for aab9bb1
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