title: tracking href click with angular.js and google analytics
body: <p>I have a web application which lets users download files. I dynamically generate the a <code>href="xx"</code> links.</p>
  
  <p>I've already seen this article explaining how to track routes with Angular: <a href="http://www.arnaldocapo.com/blog/post/google-analytics-and-angularjs-with-ui-router/72" rel="nofollow">http://www.arnaldocapo.com/blog/post/google-analytics-and-angularjs-with-ui-router/72</a></p>
  
  <p>How can I also track each file downloaded by the users?</p>