title: AngularJS to render a template inside a compile inside a loop inside a partial
body: <p>I have a partial, which has a directive which renders a bunch of things in a loop, using compiled HMTL-as-a-string inside the directive. This HTML-as-a-string itself contains an <code>ng-include</code>, which doesn't render out.</p>
  
  <p>Please see my <a href="http://jsfiddle.net/opyate/kf3vZ/" rel="nofollow">jsfiddle example</a></p>
  
  <p>Basically, this doesn't include <code>template2.html</code>:</p>
  
  <pre><code>element.html('&lt;span&gt;The name is ' + scope.content.name + '!&lt;/span&gt;&lt;div ng-include src="template2.html"&gt;&lt;/div&gt;&lt;br&gt;');
  </code></pre>
  
  <p>Any pointers would be much appreciated.</p>
  
  <p>Thanks!</p>