-
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
angular ui router creates error messages with angular 1.6.0 #3120
Comments
Fixed in 0.3.2 by 66ab048 |
As my previous comment says, this should be fixed in |
Still seeing this in 0.3.2 |
I'm also seen this in 0.3.2. It's seems to be appear when $state is use as conditional manner |
Update to 0.4.1 or 1.0 |
Still having some issues. with |
upgrading to 0.4.2 fixed this issue for me (with angular 1.6.2) |
I got "transition prevented" error. with these versions. |
I got an error too. The problem seems coming from the ui-sref TypeError: g.get is not a function |
same here!
|
I just solved this problem by updating |
I have this issue with But only when using the minified version of ui-router ( When I minify it myself the issue goes away. |
Still having this issue. angular: 1.6.4 |
I solved it by updating the html i.e /#/ from /#!/ below are my angular ,animate and ui-router versions |
Don't have the problem anymore. |
Had some troubles but FINALLY found the mistake, keep attention to the parenthesis: |
OK with: |
I have the problem with |
if u are using angularJs 1.6.0+ then u have to use Angular-ui-router 1.0.0+ |
plus $stateChange is not working in angular-ui-router anymore , u must use transition hook instead . read more here : https://ui-router.github.io/guide/transitionhooks |
Here is an example that I used in my app: $transitions.onBefore({ to: 'app.dashboard' }, function (transition) {
if (!AUTHENTICATED) {
return $state.target('app.login');
}
}, { priority: 10 }); |
@dashawk better to change this line of your code |
Hi, I have migrated my angular js from 1.5.9 to 1.6.9 and angular ui router to 1.0.15, resolve property inside multiple views is not working. Below is the code for the reference... $stateProvider
|
Hi all,
At lines https://github.com/angular-ui/ui-router/blob/legacy/release/angular-ui-router.js#L2904-L2907 we use $q.reject.
Due to a breaking change in angular 1.6.0 (https://github.com/angular/angular.js/blob/master/CHANGELOG.md)
(I think this is angular/angular.js@e13eeab) there are error messages sent to the console.
Thanks,
The text was updated successfully, but these errors were encountered: