gulp-ngTemplateUrl
Gulp plugin to replace all your templateUrl
development code with template
. It will get the html file from the templateUrl
path, transform into a single string and inject it into template
option.
Install
npm install gulp-ngtemplateurl --save-dev
or
npm i gulp-ngtemplateurl --save-dev
Usage
You should use gulp-ngtemplateurl within a gulp task:
'use strict'; var gulp = var templateUrl = gulp
You can also use it with streams, something like this:
var gulp = templateUrl = browserify = source = entries = './public/app.js' options = bwInstance = bwInstance; gulp; { return bwInstance ;}
TODO
- Exception Handler
- At least 80% code-coverage
- Optimize finding and replacing
templateUrl
withtemplate