title: AngularJS: detecting mouse left click?
body: <p>I tried this modified version of jquery function:</p>
  
  <pre><code>$scope.link_clicked = function(e) {
      if (e.button == 0) {
          $("#spinner_bg").css("display", "block");
      }
  };
  </code></pre>
  
  <p>But it gives error: "Cannot read property 'button' of undefined..." :/</p>