title: Access angular controller from directive
body: <p>When I have a controller inside my html</p>
  
  <pre><code>&lt;div ng-controller="myController" id="myCtrl"&gt;...&lt;/div&gt;
  </code></pre>
  
  <p>I can access it via:</p>
  
  <pre><code>angular.element(myCtrl).controller()
  </code></pre>
  
  <p>But how can I access the controller from a directive?</p>
  
  <pre><code> directive('myDirective', function () {
      return {
          ...
          templateUrl: '/Views/myview.html',
          controller: myController
      }
  })
  </code></pre>
  
  <p></p>