Angular报错
报错:
Module 'App' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
解决办法:
angular.module('bookxApp').controller(...) ; 少了依赖 [ ] 双括号
改成这样就行了
angular.module('bookxApp' , [ ] ).controller(...) ; 少了依赖 [ ] 双括号