-
Notifications
You must be signed in to change notification settings - Fork 429
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
Error: Invalid state ref '' #35
Comments
+1 |
BTW, the issue is in stats.html, where link is set with an unexistent state (line 14): ´´´< a ui-sref="{{goto}}" >´´´ just removing it as (or creating a proper state in app.js) will fix the issue. |
Addressing the 'invalid state ref:' error, If anyone has problems with this, verify in your 'home.html' file that each of the elements have the goto="state.go" attribute on it. Obviously changing 'state.go' to the state you are setting to the link. In my situation there were 4 tags that did not have any state assigned and the app was expecting them there.
I set 'dashboard.home' to the three that I have not implemented yet so that I would no longer receive the error. |
I was also having the same issue. |
1c7f647
angular-ui/ui-router#395
The text was updated successfully, but these errors were encountered: