0.0.2 • Published 9 years ago
broccoli-ng-templates v0.0.2
#broccoli-ng-templates
A plugin for Broccoli that compiles AngularJS templates into a single Javascript module that inserts the templates into angular's $templateCache
service.
##Usage At the command prompt:
npm install broccoli-ng-templates
In your Brocfile, given a tree templates
that represents a directory that contains many HTML templates, and possibly subdirectories that contain more templates:
templates = new compileNgTemplates(templates, 'compiled.js', {moduleName: 'myproject.templates'});