I\'m using AngularUI\'s routing and I\'d like to do a ng-class=\"{active: current.state}\" but I\'m unsure how to exactly detect the current state in a directiv
ng-class=\"{active: current.state}\"
Check out angular-ui, specifically, route checking: http://angular-ui.github.io/ui-utils/