I am getting an error with nested angular states. ocLazyLoad works fine with independent state but when I inherit the state it throws a following error message.
I included the $stateProvider block below for your reference.
TypeError: Cannot read property 'name' of undefined
at h (angular-ui-router.min.js:7)
at g (angular-ui-router.min.js:7)
at l.$broadcast (angular.js:14700)
at u.transition.L.then.u.transition.u.transition (angular-ui-router.min.js:7)
at angular.js:13168
at l.$eval (angular.js:14381)
at l.$digest (angular.js:14197)
at angular.js:14420
at e (angular.js:4900)
at angular.js:5280
Hi there,
I am getting an error with nested angular states. ocLazyLoad works fine with independent state but when I inherit the state it throws a following error message.
I included the $stateProvider block below for your reference.