Enables you to minify Javascript files using dc/bundler.
composer require dc/bundler-ngtpl
or in composer.json
"require": {
"dc/bundler-ngtpl": "dev-master"
}
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.