title: How to check if component has a child node of <template></template>?
body: <p>MyComponent for example:</p>
  
  <pre><code>&lt;div [my-component]="'text'"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>In code I have <code>this.viewContainerRef</code> which is the node itself (<code>&lt;div&gt;</code>).</p>
  
  <p>But the user may want to add its template to <code>myComponent</code>, so he will do this:</p>
  
  <pre><code>&lt;div [my-component]="'text'"&gt;
     &lt;template&gt;
     ...
     &lt;/template&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My question is how in code I can check if there is a <code>&lt;template&gt;</code> node and use/read its innerHTML?</p>