This plugins allows you to bundle templates directly in your application using the $templateCache service.
Install it with npm install https://github.com/joshuapack/gulp-angular-templates.
var angularTemplates = require('gulp-angular-templates');
gulp.task('html', function () {
return gulp.src('app/partials/**/*.html')
.pipe(angularTemplates())
.pipe(gulp.dest('./build/'));
});Type: String
The path that should be prefixed to the path that was specified using gulp.src.
Type: String
The name of the module that will be used.
Type Boolean
Indicate whether the module name that was specified using options.module is intended to be standalone.