 <p>If you're using AngularJS and already have a build step, <a href="https://www.npmjs.com/package/gulp-ng-html2js" rel="nofollow">html2js</a> could help you with turning HTML templates into JS, which can then be concat'd and minified.</p>