grunt-angular-templates
Version:
Grunt build task to concatenate & register your AngularJS templates in the $templateCache
21 lines (18 loc) • 463 B
JavaScript
angular.module('unmerged_files').run(['$templateCache', function($templateCache) {
'use strict';
$templateCache.put('test/fixtures/unmerged/level2/html5.html',
"<div>\n" +
" <span>\n" +
" Self-closing, sucka!\n" +
" <br>\n" +
" <img src='path/to/img'> Howdy\n" +
"</div>\n" +
"\n" +
"<hr>\n" +
"\n" +
"<table>\n" +
" <tr>\n" +
" <td>\n" +
" Howdy\n"
);
}]);