<script>
angular.module('${module}')
    .run(function($cacheFactory, $resource) {
        var httpCache = $cacheFactory.get('$http');
        <#list caches as cache>
        httpCache.put('${cache.key}', '${cache.value}');
        </#list>
    });
</script>
<script>
angular.module('${module}')
    .run(['$cacheFactory', '$resource', function($cacheFactory, $resource) {
        var httpCache = $cacheFactory.get('$http');
        <#list caches as cache>
        httpCache.put('${cache.key}', '${cache.value}');
        </#list>
    }]);
</script>
Fix angular DI error in strict mode
Fix angular DI error in strict mode
