我正在使用下面的堆栈建立一个网站。对于这个问题,我认为软件栈应该无关紧要。我更感兴趣的是,我做这个项目的方式是一个好主意,还是遵循了最佳实践。
- Twitter Bootstrap for the UI
- CherryPy
- jQuery
所以我处理这个项目的方式如下所示
- Use the Twitter Bootstrap to create the basic layout
- I have one js file and one css file for my project
- Based upon the requirement, let say for this butt
我在找出为什么我的控制器没有在我的均值栈中定义时遇到了很多麻烦。其他每个控制器都工作得很好。
Error: Argument 'ReportsController' is not a function, got undefined
at assertArg (http://localhost:3000/lib/angular/angular.js:1039:11)
at assertArgFn (http://localhost:3000/lib/angular/angular.js:1049:3).....
app.js
window.app = angular.module