title: Dynamic ngTemplateOutlet value
body: <p>Is there a way to dynamically set the value of the *ngTemplateOutlet directive?</p>
  
  <p>Something along those lines:</p>
  
  <pre><code>&lt;div *ngFor="let item of [ 'div', 'span' ]"&gt;
    &lt;ng-container *ngTemplateOutlet="{{ item }}"&gt;&lt;/ng-container&gt;
  &lt;/div&gt;
  
  &lt;ng-template #div&gt;
    &lt;div&gt;some text inside a div&lt;/div&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #span&gt;
    &lt;span&gt;some text inside a span&lt;/span&gt;
  &lt;/ng-template&gt;
  </code></pre>
  
  <p>Of course it doesn't work but I guess it explains quite well what I'm trying to achieve: if the item is "div", then it should display the #div template, if it's "span" the #span one.</p>