cope;
});
</code></pre>
<p>Later, if you want to remove the transcluded content from your DOM then you should also destroy the
associated transclusion scope:</p>
<pre><code class="lang-js">transcludedContent.remove();
transclusionScope.$destroy();
</code></pre>
<div class="alert alert-info">
<strong>Best Practice</strong>: if you intend to add and remove transcluded content manually in your directive
(by calling the transclude function to get the DOM and and calling <code>element.remove()</code> to remove i