Open zhouzi opened 8 years ago
This PR adds a new option to define every modules defaults. Particularly useful when you want to completely deactivate the cache and use a custom cacheBuster, e.g:
angular .module('app', [ 'oc.lazyLoad', ]) .config([ '$ocLazyLoadProvider', function ($ocLazyLoadProvider) { $ocLazyLoadProvider.config({ moduleDefaults: { cache: false } }); } ]);
Related to #306 and #336
Please note that some loaders are not yet inheriting from moduleDefaults.
When change is merge with master branch? I really need it.
This PR adds a new option to define every modules defaults. Particularly useful when you want to completely deactivate the cache and use a custom cacheBuster, e.g:
Related to #306 and #336