.</p>
<h4 id="-transclude-"><code>transclude</code></h4>
<p>Extract the contents of the element where the directive appears and make it available to the directive.
The contents are compiled and provided to the directive as a <strong>transclusion function</strong>. See the
<a href="api/ng/service/$compile#transclusion">Transclusion</a> section below.</p>
<p>There are two kinds of transclusion depending upon whether you want to transclude just the contents of the
directive&#39;s element or the entire element: