UNPKG

grunt-angular-templates

Version:

Grunt build task to concatenate & register your AngularJS templates in the $templateCache

17 lines (14 loc) 406 B
angular.module('unmerged_files').run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('test/fixtures/unmerged/undefined.html', "<h1>Undefined</h1>\n" + "\n" + "<p class=\"\">I am undefined.</p>\n" + "\n" + "<script type=\"text/javascript\">\n" + " // Test\n" + " /* comments */\n" + " var foo = 'bar';\n" + "</script>\n" ); }]);