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
The use of ui-sref-active directive that worked for me was:
-
Administration Panel
as found here under the comment labeled "tgrant59 commented on May 31, 2016".
I am using angular-ui-router v0.3.1.