Closed SQLCODE917 closed 9 years ago
You need to put 'module' under 'options', i.e:
ngtemplates: {
build: {
cwd: '<%= yeoman.app %>',
src: 'views/**/*.html',
dest: '.tmp/concat/scripts/templates.js',
options: {
module: 'myApp',
htmlmin: '<%= htmlmin.dist.options %>'
}
}
Thank you!
Given config like
The output file begins like
Given config like
The output file begins like
This behavior prevents me from configuring ngtemplates for >1 goal.
Using grunt-angular-templates 0.5.7, Angular 1.2.16 and Grunt 0.4.4