This is a nice grunt plugin which does what I need. However, instead of having to install angular-template-inline-js as well as this plugin, the dependency should be added to the package.json:
"dependencies": {
"angular-template-inline.js": "^0.1.6"
}