title: use one large external file for many javascript templates with backbone.js?
body: <p>I have two different HTML pages that serve up backbone apps. Up until now, I have put all the js templates inside of each respective HTML file. </p>
  
  <p>Now, I'm refactoring a bit and would like to share some backbone views between files. When loading a view that can't find a js template, the whole app will error out. I know the proper way to merge these two would be to have external js templates, using EJS for example, and have 1 template per file, however, I'd like to just have one huge HTML file with embedded <code>&lt;script type='text/template'&gt;</code> and share the template HTML file between my 2 pages. Is this possible? I tried getting the external js templates with AJAX and writing them to the head, but backbone views still can't find them. </p>
  
  <p>Does anyone else choose to have a file with many javascript templates in it? I also find that I have an unmanageable number of files open when I use ejs. Any help would be most appreciated. </p>