title: Handlebarsjs: render multiple passes with nested templates
body: <p>I see many things that just refers me to partials which sucks because they have to built out of the layout context.</p>
  <p>What I'm wanting to do is make nested templates</p>
  <p>For example:</p>
  <pre><code>&lt;div id=&quot;person&quot;&gt;
    {{name}}
    &lt;div id=&quot;address&quot;&gt;
      {{street}}
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
    var outer = Handlebars.compile($('#person').html());
    outer({ name: 'someone special' });
  
    var inner = Handlebars.compile($('#address').html());
    inner({ street: 'somewhere cool' });
  &lt;/script&gt;
  </code></pre>
  <p>When running this, the inner template is never rendered as the outer templating gobbles it up.</p>
  <p>It would be nice if you could namespace nested templates like this:</p>
  <pre><code>{{&gt; name}}
  &lt;div id=&quot;person&quot;&gt;
    {{name}}
    {{&gt; address}}
    &lt;div id=&quot;address&quot;&gt;
      {{street}}
    &lt;/div&gt;
    {{/&gt; address}}
  &lt;/div&gt;
  {{/&gt; name}}
  
  &lt;script&gt;
    var outer = Handlebars.compile($('#person').html(), 'name');
    outer({ name: 'someone special' });
  
    var inner = Handlebars.compile($('#address').html(), 'address');
    inner({ street: 'somewhere cool' });
  &lt;/script&gt;
  </code></pre>
  <p>or something like this, so that when the outer renders, it will leave the address alone and let inner render address itself without removing it from the DOM.</p>
  <p>Is anything like this possible?</p>
  <p>The reason for this question is that I'm using backbone and want to separate out all of my small views but it compiles to one file. when the outer is templated with handlebars, everything else breaks. I don't want to use partials as that just take everything out of the flow of the html document for the designers.</p>
  <h3>EDIT</h3>
  <p>I think what I really need is a way to do <code>{{noparse}}</code> and from the registerHelper just return the raw html between the noparse tags</p>