title: Angular hook pre-route change
body: <p>I have an angular app that uses ngRoute for routing. The navigation bar uses <code>href="#/whatever"</code> links. I would like to stop the route from changing when the user clicks on certain links if they are not logged in. How would I hook in to the ngRoute to achieve this?</p>