title: How to highlight a current menu item?
body: <p>Does AngularJS help in any way with setting an <code>active</code> class on the link for the current page?</p>
  
  <p>I imagine there is some magical way this is done, but I can't seem to find.</p>
  
  <p>My menu looks like:</p>
  
  <pre><code> &lt;ul&gt;
     &lt;li&gt;&lt;a class="active" href="/tasks"&gt;Tasks&lt;/a&gt;
     &lt;li&gt;&lt;a href="/actions"&gt;Tasks&lt;/a&gt;
   &lt;/ul&gt;
  </code></pre>
  
  <p>and I have controllers for each of them in my routes: <code>TasksController</code> and <code>ActionsController</code>.</p>
  
  <p>But I can't figure out a way to bind the "active" class on the <code>a</code> links to the controllers.</p>
  
  <p>Any hints?</p>