-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use multiple classes in ui-sref-active #2481
Comments
+1 This bug is kicking my ass right now. I checked the documentation and this still looks like it should work: http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.directive:ui-sref-active [edit] |
Wow, this looks like a legit regression. Sorry about that. Thanks for the report, I'll patch it up shortly. |
I've been working on a simple fix. A try/catch around the $scope.$eval will work. Was just about to write a test and submit a PR. |
Hah, that's basically what I just did. If you beat me to it, great. 😄 |
PR Submitted. Feel free to do with it as you wish 😄 |
Merged. I'll push a release shortly. |
Amazing. Thanks for the quick turnaround. |
Happy to help. 😄 |
@kmcarpenter could you please submit a PR for this one for |
Hi,
When I use multiple classes in an ui-sref-active directive I get the following error in console:
AngularJS version: 1.3.20
UI-Router version: 0.2.16
Provided plunker: http://plnkr.co/edit/4y0KC38Vlnc57wy6owW9
The text was updated successfully, but these errors were encountered: