This is exactly what angular is for. Firstly, are your links static or will they be generated via ng-repeat ?
Basically you can expose the $routeparams onto the scope then use this with ng-class to set active on the li when the route matches.
Pete
...from my mobile.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/gQJvlIjWUicJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.
To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/aibTvintd4YJ.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.