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

Console Error : Cannot read property 'self' of undefined #267

Open eeandrew opened 8 years ago

eeandrew commented 8 years ago

Angular: V1.2.28 UI-ROUTER: V0.2.13

I add the ct-ui-router-extras.min.js into my project. Include the submodules as an angular dependency.

But the console gives me these errors whenever I change routes:

TypeError: Cannot read property 'self' of undefined
    at debugViewsAfterSuccess (ct-ui-router-extras.js:1251)
    at transitionSuccess (ct-ui-router-extras.js:1197)
    at J (angular.js:11682)
    at angular.js:11768
    at h.$eval (angular.js:12811)
    at h.$digest (angular.js:12623)
    at h.$apply (angular.js:12915)
    at m (angular.js:8450)
    at w (angular.js:8664)
    at XMLHttpRequest.B.onreadystatechange (angular.js:8603)
ghost commented 8 years ago

i get the same error TypeError: Cannot read property 'self' of undefined at debugViewsAfterSuccess (ct-ui-router-extras.js:1140) at transitionSuccess (ct-ui-router-extras.js:1087) at angular.js:13189 at l.$eval (angular.js:14401) at l.$digest (angular.js:14217) at l.$apply (angular.js:14506) at l (angular.js:9659) at S (angular.js:9849) at XMLHttpRequest.D.onload (angular.js:9790)

christopherthielen commented 8 years ago

So it happens for unminified build too, I see

carlosfunk commented 7 years ago

@kmrrakesh are you using angular-permission? I had the same issue and upgrading it solved this for me.