SCRIPT5022:参数'module'不是函数,得到undefined angular.js,第975行5

Yas*_*gla 9 angularjs

当我加载角度相关页面时,我在IE-8中面临异常.它在其他浏览器中工作正常.任何具体原因?

SCRIPT5022: Argument 'module' is not a function, got undefined 
angular.js, line 975 character 5
Run Code Online (Sandbox Code Playgroud)

小智 30

我有同样的问题(在IE <9时),我花了很长时间跟踪它......

angular.module('app', ['app.directives', 'app.filters', 'app.services', ]);
Run Code Online (Sandbox Code Playgroud)

请注意'app.services'之后的尾随逗号.