title: When would I need to use ng-template?
body: <p>I've been trying to get my head around <code>ng-template</code> and where and when I may need it. After looking at a few tutorials I am still none the wiser.</p>
  
  <p>If I have defined a template eg.</p>
  
  <pre><code>&lt;script type="text/ng-template" id="my-template-id"&gt;
      ... html here
  &lt;/script&gt;
  </code></pre>
  
  <p>I have seen that sometimes this is used with <code>ng-include</code> and sometimes as a templateUrl in a directive.</p>
  
  <p>Also once I read that it goes in to the <code>$templateCache</code>, what benefit do I get from using this? I am using Angular to dynamically list products, no great shakes there but if I can get more performance from using something like <code>ng-template</code> I would like to have a go at it.</p>