Ashish Kadam
Ashish Kadam

Reputation: 1487

AngularJs Ui-routing transition superseded

Console for transition superseded

i find the solution AngularJS and UI-Router: 'Error: transition superseded' during angularjs unit tests but this not work for me. AngularJs version v1.6.1 Ui-routing Version v0.3.2

Upvotes: 4

Views: 6573

Answers (1)

Ashish Kadam
Ashish Kadam

Reputation: 1487

I solved it.

In my project, root state is login state if login is successful then it goes to admin.dashboard state, where admin state was an abstract state.

I used$state.transitionTo method instead of $state.go when transitioning to the admin.dashboard state.

I've also added on app.config section.

$qProvider.errorOnUnhandledRejections(false);

Upvotes: 3

Related Questions