title: AngularJS what does locals in directive stand for
body: <p>AFAIK this is not documented, but I found in angular source a <code>locals</code> attribute in a directive example:</p>
  <pre><code>angular.module('transclude', [])
            .directive('pane', function(){
               return {
                 restrict: 'E',
                 transclude: true,
                 scope: 'isolate',
                 locals: { title:'bind' },
                 template: '&lt;div style=&quot;border: 1px solid black;&quot;&gt;' +
                             '&lt;div style=&quot;background-color: gray&quot;&gt;{{title}}&lt;/div&gt;' +
                             '&lt;div ng-transclude&gt;&lt;/div&gt;' +
                           '&lt;/div&gt;'
               };
           });
  </code></pre>
  <p>What does it do? How can I use it?</p>
  <h2>EDIT</h2>
  <p>to be more precise:</p>
  <p><strong>How can I access <code>locals</code> from <code>directive</code>'s controller or <code>link</code>ing function?</strong></p>
  <p><strong>How can I dynamicly change <code>locals</code> from <code>directive</code>'s controller or <code>link</code>ing function?</strong></p>
  <p><strong>Can I use <code>locals</code> in every directive, or does it have to be a directive with a <code>transclude=true</code> ?</strong></p>