title: Include a jquery.tmpl template for knockout.js?
body: <p>Silly question, maybe, but I can't find a documented answer anywhere.</p>
  
  <p>I'm trying to save a jquery tmpl template, and include it as a script. Seems like this should work:</p>
  
  <pre><code>&lt;script src="my_tmpl.js" type="text/javascript" id="myTemplate"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But no luck. What am I doing wrong?</p>
  
  <p>Just for completeness' sake, here's the kind of binding I'm doing for knockout:</p>
  
  <pre><code>&lt;div id="myTemplatedBox" data-bind="template: 'myTemplate'"&gt;
  </code></pre>
  
  <p>Edit: Here's a very reduced version of the my_tmpl.js contents.  It works fine when I keep it in the main html document.</p>
  
  <pre><code>    &lt;div class="headerText"&gt;{{html header_text}}&lt;/div&gt;
      {{each(i,v) answer_array}}
          &lt;div class="questionText"&gt;&lt;input type="radio" name="Q${i}" value="${i+1}"&gt;{{html v}}&lt;/input&gt;&lt;/div&gt;
      {{/each}}
  </code></pre>