Description
I'm upgrading angular js from 1.5 to 1.8.2.
to upgrade we have to upgrade angular-ui-router.
while upgrading this following error is thrown
angular-ui-router.js?compile=false:7302 Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7302
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7304 TypeError: this.parent.parameters is not a function
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Transition.error (angular-ui-router.js?compile=false:4430)
at Transition.valid (angular-ui-router.js?compile=false:4403)
at invalidTransitionHook (angular-ui-router.js?compile=false:7037)
at invokeCallback (angular-ui-router.js?compile=false:3445)
at TransitionHook.invokeHook (angular-ui-router.js?compile=false:3450)
at Function.TransitionHook.invokeHooks (angular-ui-router.js?compile=false:3418)
at Transition.run (angular-ui-router.js?compile=false:4392)
at StateService.transitionTo (angular-ui-router.js?compile=false:7638)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7304
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
2angular.js?compile=false:formatted:3736 Possibly unhandled rejection: {"$id":0,"type":6,"message":"The transition errored","detail":{}}
(anonymous) @ angular.js?compile=false:formatted:3736
(anonymous) @ angular.js?compile=false:formatted:2885
g @ angular.js?compile=false:formatted:4115
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7302 Transition Rejection($id: 1 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7302
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:5152
Yg.completeTask @ angular.js?compile=false:formatted:5035
(anonymous) @ angular.js?compile=false:formatted:1458
setTimeout (async)
Fg.h.defer @ angular.js?compile=false:formatted:1456
f @ angular.js?compile=false:formatted:5143
v @ ct-ui-router-extras.js?compile=false:24
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7304 TypeError: this.parent.parameters is not a function
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Transition.error (angular-ui-router.js?compile=false:4430)
at Transition.valid (angular-ui-router.js?compile=false:4403)
at invalidTransitionHook (angular-ui-router.js?compile=false:7037)
at invokeCallback (angular-ui-router.js?compile=false:3445)
at TransitionHook.invokeHook (angular-ui-router.js?compile=false:3450)
at Function.TransitionHook.invokeHooks (angular-ui-router.js?compile=false:3418)
at Transition.run (angular-ui-router.js?compile=false:4392)
at StateService.transitionTo (angular-ui-router.js?compile=false:7638)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7304
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:5152
Yg.completeTask @ angular.js?compile=false:formatted:5035
(anonymous) @ angular.js?compile=false:formatted:1458
setTimeout (async)
Fg.h.defer @ angular.js?compile=false:formatted:1456
f @ angular.js?compile=false:formatted:5143
v @ ct-ui-router-extras.js?compile=false:24
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
2angular.js?compile=false:formatted:3736 Possibly unhandled rejection: {"$id":1,"type":6,"message":"The transition errored","detail":{}}
Can somebody tell me the solution?