grunt-angular-templates
Version:
Grunt build task to concatenate & register your AngularJS templates in the $templateCache
2 lines (1 loc) • 426 B
JavaScript
var Foo=function(){},Bar="bar";angular.module("custom_usemin").run(["$templateCache",function(a){"use strict";a.put("test/fixtures/one.html",'<h1>One</h1>\n\n<p class="">I am one.</p>\n\n<script type="text/javascript">\n // Test\n /* comments */\n var foo = \'bar\';\n</script>\n'),a.put("test/fixtures/two/two.html",'<h2>Two</h2>\n\n<!-- Comment for two -->\n\n<textarea readonly="readonly">We are two.</textarea>\n')}]);