gulp-html2js icon indicating copy to clipboard operation
gulp-html2js copied to clipboard

Gulp plugin for converting AngularJS templates to JavaScript

Results 6 gulp-html2js issues
Sort by recently updated
recently updated
newest added

Hi ! I have output like that window["_html_"]["history"] , can I customize it ? for example this["project"]["history"] ?

This fix actually uses the `quoteChar` and `indentString` options passed in via the gulp task.

seems both adapters hard code it instead

in readme example: ``` var gulp = require('gulp'); var html2js = require('gulp-html2js'); gulp.task('default', function () { gulp.src('templates/*.html') .pipe(html2js('angular.js', { adapter: 'angular', base: 'templates', name: 'angular-demo' })) .pipe(gulp.dest('dist/')); }); ``` What...

I have the following task ``` js return gulp.src( [ webRoot + '**/*.html' ] ) .pipe( $.debug( { title: 'localTemplates' } ) ) .pipe( $.html2js( 'templates.js', { //not sure what...

I am changing from grunt to gulp. my configuration is like the following. html2js: { default_options: { options: { base: '', rename: function(moduleName) { return '/' + moduleName; } },...