|
|
@ -8,7 +8,7 @@ var path = require('path'); |
|
|
|
// The generated file is being created at src
|
|
|
|
// The generated file is being created at src
|
|
|
|
// so it can be fetched by usemin.
|
|
|
|
// so it can be fetched by usemin.
|
|
|
|
gulp.task('templates', function() { |
|
|
|
gulp.task('templates', function() { |
|
|
|
return gulp.src('app/partials/*.html') |
|
|
|
return gulp.src('app/partials/**/*.html') |
|
|
|
.pipe($.angularTemplatecache('templates.js', { |
|
|
|
.pipe($.angularTemplatecache('templates.js', { |
|
|
|
root: 'partials', |
|
|
|
root: 'partials', |
|
|
|
module: 'myApp.templates', |
|
|
|
module: 'myApp.templates', |
|
|
|