An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.
-
Notifications
You must be signed in to change notification settings - Fork 0
An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.
lonormaly/match-url
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published