title: AngularJS Linky set ng-click on all links
body: <p>I'm using <a href="https://docs.angularjs.org/api/ngSanitize/filter/linky" rel="nofollow">AngularJS linky filter</a> to make links on a snippet, and it works great, but I want to make call a custom function before executing the url.</p>
  
  <p>So my question is, how can i set a ng-click attribute with linky filter ?</p>
  
  <p>Hope it makes sense?</p>
  
  <p>my code looks like:</p>
  
  <pre><code>&lt;div class="item" href="#" ng-repeat="message in messages"&gt;
  
   &lt;p class="message" ng-bind-html="message.message | linky:'_blank':open(url)"&gt;&lt;/p&gt;
  
  &lt;/div&gt;
  </code></pre>