Actions
Refactor #4694
closedUse ui-sref-active instead of ng-class where appropriate
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
-
Description
See http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.directive:ui-sref-active
We can then replace this:
<a class="{someClass: isState('blah')}" ui-sref="blah">Hello!</a>
with:
<a ui-sref-active="someClass" ui-sref="blah">Hello!</a>
Actions