angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

Transition Rejection : while upgrading angularjs from 1.5 to 1.8 using angular-route:1.0.0 #3841

Open ajaiswal595 opened 2 years ago

ajaiswal595 commented 2 years ago

Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)

image

here we are using

$stateProvider .state('mobile-login', { url : "/mobile-login", templateUrl : "assets/myorg/mobile/login/login.html", controller: "loginController", authenticate: false }) .state('mobile-main', { url: "/mobile-main", templateUrl: "assets/myorg/mobile/main/main.html", controller: "MainController", authenticate: true }) .state('login', { url : "/login", templateUrl : "assets/myorg/login/login.html", controller: "loginController", authenticate: false }) . . .

        Can someone help me, what could be the issue?
MoisesGuedes commented 2 years ago

I'm having the same issue. can someone help here?