broccoli-ng-templatecache

0.2.0 • Public • Published

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 templates
  • module (default: "templates") generated module name. false means don't create a module
  • prefix (default: '') Prefix to add to template paths
  • standalone (default: false) if true, the module will be created as angular.module('xxx', [])

Package Sidebar

Install

npm i broccoli-ng-templatecache

Weekly Downloads

1

Version

0.2.0

License

BSD

Last publish

Collaborators

  • statianzo