title: Angular-gettext extract annotations from javascript files
body: <p>With <a href="http://angular-gettext.rocketeer.be/dev-guide/annotate/" rel="nofollow">Angular-gettext we extract annotated strings from html</a> as specified in <code>Gruntfile.js</code>: </p>
  
  <pre><code>grunt.initConfig({
    nggettext_extract: {
      pot: {
        files: {
          'po/template.pot': ['src/views/*.html']
        }
      },
    },
  })
  </code></pre>
  
  <p><strong>Is it possible to extract strings from javascript files too?</strong></p>
  
  <p>I have a case where I'm generating strings from an angularjs controller:</p>
  
  <pre><code>&lt;textarea ng-model="generatedCSV"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>the header row of the CSV is:</p>
  
  <pre><code>"Full Name", "Email"
  </code></pre>
  
  <p>Which needs translating to other languages.</p>
  
  <p>Is there a nice way to do this with angular-gettext?</p>