gulp-angular-tpl2js
Inject AngularJS directive templates as inline JavaScript using gulp
Regarding Issues
This is just a simple gulp plugin, which means it's nothing more than a thin wrapper around angular-tpl2js. If it looks like you are having issues, please open an issue at angular-tpl2js. Only create a new issue if it looks like you're having a problem with the plugin itself.
Install
npm install gulp-angular-tpl2js --save-dev
API
tpl2js([config])
var gulp = ;var tpl2js = ; gulp;
config
include
for retrieving ng-include templates and HTMLMinifier
, a relay for html-minifier options
// defaultsvar config = include: false HTMLMinifier: collapseWhitespace: true removeComments: true
var gulp = ;var tpl2js = ; gulp;