Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 605 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 605 Bytes

Angular template support for dc/bundler

Enables you to minify Javascript files using dc/bundler.

Installation

composer require dc/bundler-ngtpl

or in composer.json

"require": {
    "dc/bundler-ngtpl": "dev-master"
}

Setup

This package depends on dc/router, but strongly suggests dc/ioc. This is how you register the transformer with the IoC container so it is picked up automatically:

\DC\Bundler\NGTemplate\NGTemplateTransformer::registerWithContainer($container, "module");

Specify the Angular module whose $templateCache will register the models.