0.2.0 • Published 7 years ago
broccoli-ng-templatecache v0.2.0
broccoli-ng-templatecache
Convert Angular templates to $templateCache entries.
Installation
npm install --save broccoli-ng-templatecache
Usage
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
outputFile
destination of the merged templatesmodule
(default:"templates"
) generated module name.false
means don't create a moduleprefix
(default:''
) Prefix to add to template pathsstandalone
(default:false
) iftrue
, the module will be created asangular.module('xxx', [])