You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above, clicking the Administration nav element shows a view with two tabs, Users and Roles.
These correspond to the states admin.users and admin.roles, while admin is an abstract state whose URL is inherited by admin.users. This all works fine except when setting the active class using ui-sref-active.
There are two problems in this scenario:
The Administration nav element is not made active when on the Roles tab
When refreshing the page (be sure to pop out the Plunker preview) while on the Roles tab, no elements get the active class set
I would like to avoid using $state.includes directly since ui-sref-active is supposed to work on child states since 0.2.11: #927