Angular 1.4 + ngNewRouter + ES6 : Cannot read property '$routeConfig' of undefined
- 阅读更多 关于 Angular 1.4 + ngNewRouter + ES6 : Cannot read property '$routeConfig' of undefined
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am currently trying to throw together a basic working example of an Angular 1.4 app written with both the new router as well as ECMAScript 6. I have been fiddling with this code non stop and I don't understand why I am getting the error that is being thrown: Failed to instantiate module bookShelf due to: TypeError: Cannot read property '$routeConfig' of undefined I have my angular app being bootstrapped in my index.html file as so: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Home</title> </head> <body> <div class=