Adding Angular Directive Using Decorator
I'm using Angular 1.4.8 with Angular UI. What I'm trying to do is decorate the ui-sref directive so it will highlight a menu element (by setting the CSS class 'active') if the cur
Solution 1:
Amy you do not need to implement this directive as angular-ui in fact already have it, please check ui-sref-active
Post a Comment for "Adding Angular Directive Using Decorator"