title: ngtemplate dynamic value for template selection
body: <p>This question is related to <a href="https://stackoverflow.com/questions/46513603/ngtemplateoutlet-with-dynamic-value/49220839#49220839">ngTemplateOutlet with dynamic value</a></p>
  
  <p>Following this example, there is a <code>@ViewChild('one') one:TemplateRef&lt;any&gt;;</code>
  for each template.  </p>
  
  <p>I'm doing a application which is essentially an eBook. Currently I have a <code>&lt;ng-template #pagexx&gt;</code> for each page. Any way to avoid having the <code>@ViewChild</code> for everypage?  This will get quite tedious for a large set of pages.</p>
  
  <p>Looking for a way that expression can be passed in from <code>component.ts</code> and have the expression evaluate to <code>page6</code> or <code>page7</code> ...</p>
  
  <p> 
  Thanks for any help.</p>