e hierarchy will look like this:</p>
<pre><code>- $rootScope
  - isolate
    - transclusion
</code></pre>
<p>but the scopes will inherit prototypically from different scopes to their <code>$parent</code>.</p>
<pre><code>- $rootScope
  - transclusion
- isolate
</code></pre>
<h3 id="attributes">Attributes</h3>
<p>The <a href="api/ng/type/$compile.directive.Attributes">Attributes</a> object - passed as a parameter in the
<code>link()</code> or <code>compile()</code> functions. It has a variety of uses.</p>
<ul