christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

TypeError: state.ownParams.$$equals is not a function #348

Open Hojekunle opened 7 years ago

Hojekunle commented 7 years ago

app.txt

Please see the error below when switching between states. I can transit from one state to the other at first but i can not go back to the previous state. However, with sticky set to false, i can navigate between states back and forth without the states being maintained as expected. The app.js is attached. The angular versions in use is below. angular.js v1.5.8 angular-ui-router v0.3.2 Btw it is same issue with versions below angular.js v1.2.0 angular-ui-router v0.2.13

angular.js:13920 TypeError: state.ownParams.$$equals is not a function at Object.transitionTo (angular-ui-router.js:3206) at Object.$state.transitionTo (ct-ui-router-extras.js:136) at Object.$state.transitionTo (ct-ui-router-extras.js:874) at Object.$state.transitionTo (ct-ui-router-extras.js:1301) at Object.go (angular-ui-router.js:3118) at angular-ui-router.js:4192 at angular.js:19612 at completeOutstandingRequest (angular.js:5964) at angular.js:6243(anonymous function) @ angular.js:13920(anonymous function) @ angular.js:10467(anonymous function) @ angular.js:19615completeOutstandingRequest @ angular.js:5964(anonymous function) @ angular.js:6243