Here is the file structure I am currently working with:
- src
- app
- ticket
- template.html
- index.html
- app.min.js
I have been utilizing grunt-angular-templates for creating a cache, and my configuration looks like this:
ngtemplates:{
app:{
src: 'src/app/**/*.html',
dest: 'src/templates.js',
htmlmin: {
removeComments: true,
collapseWhitespace: true,
collapseBooleanAttributes: true
}
}
}
However, the generated templates end up looking like this:
$templateCache.put('src/app/ticket/template.html', '.......');
What I actually need is for it to be
$templateCache.put('app/ticket/template.html', '.......');
Is there a way I can adjust the path using the configuration?