Skip to content

Conversation

@fpipita
Copy link
Contributor

@fpipita fpipita commented Jan 7, 2016

This PR makes sure the active classes are applied during the directive compilation phase so that they are available even after $stateChangeSuccess has already been fired.

This patch was originally developed for 1.0.0alpha0, but since the test for it didn't pass on master either, I've backported it.

Plunkr showing the issue: https://plnkr.co/edit/z3kdm41eyuXK052fsflH?p=preview

christopherthielen added a commit that referenced this pull request Jan 24, 2016
fix(uiSrefActive): update the active classes when compiled
@christopherthielen christopherthielen merged commit dfd1078 into angular-ui:master Jan 24, 2016
@christopherthielen
Copy link
Contributor

Looks good, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants