0.2.0 • Published 9 years ago
broccoli-ng-templatecache v0.2.0
broccoli-ng-templatecache
Convert Angular templates to $templateCache entries.
Installation
npm install --save broccoli-ng-templatecacheUsage
Pass the constructor a filtered set of trees containing Angular templates you want combined.
var NgTemplatecache = require('broccoli-ng-templatecache');
var tree = new NgTemplatecache([inputTrees], options);Options
outputFiledestination of the merged templatesmodule(default:"templates") generated module name.falsemeans don't create a moduleprefix(default:'') Prefix to add to template pathsstandalone(default:false) iftrue, the module will be created asangular.module('xxx', [])