grunt-inline-angular-templates
grunt-inline-angular-templates copied to clipboard
Minify and strip relative path options
2 new options: {minify: false(default)} Minify the outputted html, it remoes all spaces {onlyPath: false(default)} To integrate it with yeoman and the app/, dist/ structure we need the templates name to be the same on local and production code, so strip out the relative path (usually 'dist/'). In this way the template id referenced from a script of our app (templateUrl: 'views/404.html') doesn't ever have to change according to the enviroment.