dc/bundler-ngtpl

Angular template support for dc/bundler

dev-master 2015-05-27 07:16 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:53:56 UTC


README

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.