Bind click event to open a link in new tab
<p>I'm trying to make all of the links in a modal open in a new tab, and due to the constraints of using angular, manipulating the DOM isn't as easy as I had thought it would be.  Is there a way to bind a click event to the links and then make that click event open a new tab?  </p>

<p>I have something like this</p>

<pre><code>w = angular.element($window)
w.bind 'click', (e) -&gt;
  # if link clicked open link in new tab?    
</code></pre>