title: Angularjs ng-click-active class for anchor tags
body: <p>I have some styling I would like to apply when a link is clicked in my app.</p>
  
  <p>If I was to use <code>ng-click</code>, then it would add a <code>ng-click-active</code> class to the element which is great, but is there a way to get the same behavior from an anchor tag?</p>
  
  <p>Ideally if I had this markup:</p>
  
  <pre><code>&lt;ul class="menu"&gt;
    &lt;li&gt;
      &lt;a href="#/item1"&gt;Item 1&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href="#/item2"&gt;Item 2&lt;/a&gt;
    &lt;/li&gt;
  </code></pre>
  
  <p></p>
  
  <hr>
  
  <p>I could style like this:</p>
  
  <pre><code>.menu a.ng-click-active {
    background-color: #fff;
  }
  </code></pre>