title: how to pass custom tag inside another custom tag in angular 2
body: <p>Is it possible to pass custom tag inside another custom tag ?</p>
  
  <p>For example</p>
  
  <pre><code>&lt;app-component-1&gt;
      &lt;app-component-2&gt;
      &lt;/app-component-2&gt;
  &lt;/app-component-1&gt;
  </code></pre>
  
  <p>because there is code inside app-component-1 is useful many places. where app-component-2 code is not reusable anywhere else.</p>
  
  <p>Or can we pass as property of class? like following</p>
  
  <pre><code>&lt;app-component-1 [inside_class] = 'app-component-2'
  &lt;/app-component-1&gt;
  </code></pre>
  
  <p>Any suggestion is appreciated </p>