How to reuse block of HTML in template of component? : <p>I have some Angular components with the same HTML structure</p>

<pre><code>&lt;div class='something'&gt;
 &lt;div ...&gt; 
    &lt;custom HTML code for Component&gt;
 &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Now, how can I reuse code to something like</p>

<pre><code>&lt;popup-template&gt;
  &lt;custom HTML code for Component&gt;
&lt;/popup-template&gt;
</code></pre>
