1

I have an angular app that uses ngRoute for routing. The navigation bar uses href="#/whatever" 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?

4

0 回答 0