title: How do I add pages to a yo web app without breaking my grunt scripts?
body: <p>I have been using  yo / bower for a few weeks now and I am enjoying it quite a bit.  However I am having troubles adding additional pages to my web app (that require JS).</p>
  
  <p>I am currently configuring the grunt <code>index.html</code> to minimize my custom JS files into a single file.  This works file as long as I put them into <code>main.js</code>, but now I would like to break up the scripts into separate files based on the html file.  Below are the <code>build:js</code> sections I'm trying to use to accomplish this.</p>
  
  <p>As of now it generates <code>page1.js</code> and <code>page2.js</code> but sadly doesn't run.  On document load I get this error.  </p>
  
  <blockquote>
    <p>SyntaxError: Unexpected token '&lt;'</p>
  </blockquote>
  
  <p>Is this the correct way to add additional html files to the yo web app?  Nearly all of the examples I have found regarding grunt / yo only discuss <code>index.html</code>.</p>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;!-- build:js scripts/page1.js --&gt;
  &lt;script src="scripts/page1_specific_scrip_1.js"&gt;&lt;/script&gt;
  &lt;script src="scripts/page1_specific_scrip_2.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  
  &lt;!-- build:js scripts/page2.js --&gt;
  &lt;script src="scripts/page2_specific_scrip_1.js"&gt;&lt;/script&gt;
  &lt;script src="scripts/page2_specific_scrip_2.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>
  
  <p><strong>page1.html</strong></p>
  
  <pre><code>&lt;!-- build:js scripts/page1.js --&gt;
  &lt;script src="scripts/page1_specific_scrip_1.js"&gt;&lt;/script&gt;
  &lt;script src="scripts/page1_specific_scrip_2.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>
  
  <p><strong>page2.html</strong></p>
  
  <pre><code>&lt;!-- build:js scripts/page2.js --&gt;
  &lt;script src="scripts/page2_specific_scrip_1.js"&gt;&lt;/script&gt;
  &lt;script src="scripts/page2_specific_scrip_2.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>