Skip to content

fix(uiSrefActive): update the active classes when compiled #2447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2016
Merged

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