I just ran into a strange situation where
grunt build on a Yeoman Angular
project was hanging at the following step:
$ grunt build ⋮ Running "ngtemplates:dist" (ngtemplates) task
The cause turned out to be an extra double quote symbol in one of the HTML view templates:
<form method="get" action ...