{"action":"opened","issue":{"url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144","labels_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/comments","events_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/events","html_url":"https://github.com/hollandben/grunt-cache-bust/issues/144","id":94558040,"number":144,"title":"resourses in javascript are not processed","user":{"login":"thrawn-sh","id":5955972,"avatar_url":"https://avatars.githubusercontent.com/u/5955972?v=3","gravatar_id":"","url":"https://api.github.com/users/thrawn-sh","html_url":"https://github.com/thrawn-sh","followers_url":"https://api.github.com/users/thrawn-sh/followers","following_url":"https://api.github.com/users/thrawn-sh/following{/other_user}","gists_url":"https://api.github.com/users/thrawn-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/thrawn-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrawn-sh/subscriptions","organizations_url":"https://api.github.com/users/thrawn-sh/orgs","repos_url":"https://api.github.com/users/thrawn-sh/repos","events_url":"https://api.github.com/users/thrawn-sh/events{/privacy}","received_events_url":"https://api.github.com/users/thrawn-sh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-12T11:41:00Z","updated_at":"2015-07-12T11:41:00Z","closed_at":null,"body":"I'm using angular template caches for my project please see the content and syntax of template.js below:\r\n\r\n```javascript\r\nangular.module('test').run(['$templateCache', function($templateCache) {\r\n  'use strict';\r\n\r\n  $templateCache.put('main/home.html',\r\n    \"<ul class=\\\"slides\\\"><li><img src=\\\"images/home-01.jpg\\\" alt=\\\"\\\"></li><li><img src=\\\"images/home-02.jpg\\\" alt=\\\"\\\"></li></ul>\"\r\n  );\r\n}]);\r\n```\r\n\r\nThe template cache contains 2 image assets home-01.jpg and home-02.jpg. both resources are not process at all by grunt-cache-bust, they are not renamed in the filesystem nor in the template.js\r\n\r\n```javascript\r\ncacheBust: {\r\n            options: {\r\n                algorithm: \"md5\",\r\n                deleteOriginals: true,\r\n                ignorePatterns: [\"android-chrome\", \"apple-touch-icon\", \"favicon\"],\r\n                length: 32,\r\n                removeUrlFragmentHint: true,\r\n                rename: true,\r\n            },\r\n            assets: {\r\n                files: [\r\n                    { src: [\"dist/**/*.css\"] , filter: \"isFile\" },\r\n                    { src: [\"dist/**/*.js\"]  , filter: \"isFile\" },\r\n                    { src: [\"dist/**/*.html\"], filter: \"isFile\" },\r\n                ],\r\n            },\r\n},\r\n```"}}