http://plnkr.co/edit/c7OS1pwI5IjAAs5cEi5s?p=preview
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
Am I doing something wrong or is this a bug?