title: ng-click attribute on angularjs directive
body: <p>I think it should be easy to use the well known angular attributes on a directive out of the box.</p>
  
  <p>For example if the name of my directive is myDirective I would like to use it this way:</p>
  
  <pre><code>&lt;div ng-controller="myController"&gt;
     &lt;my-directive ng-click="doSomething()"&gt;&lt;my-directive&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>instead of needing to define a custom click attribute (onClick) as in the example below</p>
  
  <pre><code>&lt;div ng-controller="myController"&gt;
     &lt;my-directive on-click="doSomething()"&gt;&lt;my-directive&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>It seems that ng-click can work, but then you need to specify ng-controller on the directive tag too which I don't want. I want to define the controller on a surrounding div</p>
  
  <p>Is it possible to use ng-click on a directive together with a controller defined on a parent html element?</p>