title: Adding $properties to Transcluded Scope
body: <p>I have a directive with a transcluded scope something like this:</p>
  
  <pre><code>&lt;my-control&gt;
      Some Content: {{value}}
  &lt;/my-control&gt;
  </code></pre>
  
  <p>Where <code>value</code> is coming from the parent scope.</p>
  
  <p>I want to add a function that interacts with the control's scope, so I can do stuff like this:</p>
  
  <pre><code>&lt;my-control&gt;
      Some Content: {{value}}
      &lt;button ng-click="$close()"&gt;Close&lt;/button&gt;
  &lt;/my-control&gt;
  </code></pre>
  
  <p>Similar to the way <code>ngRepeat</code> adds properties like <code>$index</code> to the row scope. What is the easiest way to do this in my directive?</p>