title: How to get ng-template innerHTML to component
body: <p>I want to get the innerHTML of ng-template to my component. Something like</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;my-comp [template]="myTemplate"&gt;&lt;/my-comp&gt;
  &lt;ng-template #myTemplate&gt;&lt;/ng-template&gt; 
  </code></pre>
  
  <p>TS</p>
  
  <pre><code>export class MyComponent implements OnInit {
  
    @Input() template: string | TemplateRef&lt;any&gt;;
  
    ngOnInit(){
      console.log(this.template);
    }
  
  }
  </code></pre>