TypeError: Cannot read property '@' of undefined. Ionic+UI-Router+Angular 1.5

Using UI-Router(version 1.0.0-beta.3) with ionic1 is giving me an error on load of my app.it gives the following error

angular.js?3437:13920 TypeError: Cannot read property โ€˜@โ€™ of undefined
at updateView (eval at (http://localhost:8080/vendor.bundle.js:18:636), :12209:69)
at Object.eval (eval at (http://localhost:8080/vendor.bundle.js:18:636), :12204:9)
at eval (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :1247:18)
at invokeLinkFn (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :9934:9)
at nodeLinkFn (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :9335:11)
at compositeLinkFn (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :8620:13)
at compositeLinkFn (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :8623:13)
at publicLinkFn (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :8500:30)
at eval (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :1763:27)
at Scope.$eval (eval at (http://localhost:8080/vendor.bundle.js:13:14811), :17682:28)

The application runs fine with Ui-Router(Version 0.3.1).I checked the forum for both ionic and ui-router coudโ€™nt find anything helpful.

https://github.com/angular-ui/ui-router/issues/1234.
https://github.com/angular-ui/ui-router/issues/1434.

Kindly provide some feedback.

Regards
Avenash

1 Like

I got an issue too here. I just decided to use old version instead of new one in ionic.