title: How to outsource a template js to a different file when using Handlebars.js
body: <p>I have this template script</p>
  
  <pre><code>&lt;script id="some-template" type="text/x-handlebars-template"&gt;
     {{#users}}
       {username}
       {email}
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to out-source it to a file called "user_template.js" which will look like this:</p>
  
  <pre><code>   {{#users}}
       {username}
       {email}
  </code></pre>
  
  <p>and make in the main index.html this link:</p>
  
  <pre><code>&lt;script id="some-template" type="text/x-handlebars-template" src="user_template.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The problem is - <strong>it doesn't work</strong> - how do I do it?</p>