title: grunt-angular-templates write templates into a separate file
body: <p>I'm using ng-templates and usemin in my app and I would like to write my angular templates into a separated file, so I created a usemin block reference to it in my <code>.html</code> file, like so:</p>
  
  <pre><code>&lt;!-- build:js(.) scripts/templates.js --&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>
  
  <p>I configured the ngTemplates task with these options:</p>
  
  <pre><code>ngtemplates: {
    dist: {
      cwd: '&lt;%= yeoman.app %&gt;',
      src: ['**/*.html'],
      dest: '.tmp/templateCache.js',
      options: {
        module: 'myTemplateModule',
        htmlmin: '&lt;%= htmlmin.dist.options %&gt;',
        usemin: 'scripts/templates.js'
      },
    }
  }
  </code></pre>
  
  <p>But I just figured out that <code>scripts/templates.js</code> file is not created, probably because the html build block is empty, so the templates don't get written into the file. </p>
  
  <p>Any advice about how to make this work would be nice. </p>