Closed sarod closed 3 years ago
The original code ̀js AppController.$routeConfig([ {path: '/', component: 'home' } ]); ̀ was failing at runtime with $routeConfig is not a function. It seems there was a confusion between $router.config function and controller.$routeConfig.
js AppController.$routeConfig([ {path: '/', component: 'home' } ]); ̀
The original code ̀
js AppController.$routeConfig([ {path: '/', component: 'home' } ]); ̀
was failing at runtime with $routeConfig is not a function. It seems there was a confusion between $router.config function and controller.$routeConfig.