Javascript 加载Angularjs时出错

Javascript 加载Angularjs时出错,javascript,angularjs,Javascript,Angularjs,我在加载angularjs时遇到了一个奇怪的错误。我试图在网上搜索,但什么也没找到。你知道那是什么意思吗 Error: Syntax Error: Token ',' is an unexpected token at column 5 of the expression ['ar', 'Arabic'), ... ('zh-tw', 'Traditional Chinese']. at Error (unknown source) at throwError (http://127.0.0.1

我在加载angularjs时遇到了一个奇怪的错误。我试图在网上搜索,但什么也没找到。你知道那是什么意思吗

Error: Syntax Error: Token ',' is an unexpected token at column 5 of the expression ['ar', 'Arabic'),
...
('zh-tw', 'Traditional Chinese'].
at Error (unknown source)
at throwError (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:5845:11)
at parser (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:5839:5)
at http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:6402:29
at http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:4822:27
at addTextInterpolateDirective (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:4406:27)
at collectDirectives (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:3908:11)
at compileNodes (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:3798:21)
at compileNodes (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:3806:14)
at compileNodes (http://127.0.0.1:8001/static/js/libs/angularjs/angular-1.0.0rc11.js:3806:14) angular-1.0.0rc11.js:5541
$get

经过数小时的反复试验,终于发现这里发生了什么。觉得值得和你们分享,这样你们就不会在面对同样的问题时浪费时间


问题是我在配置
插值提供程序时使用了错误的开始(
)和结束(
)符号。将开始符号和结束符号更改为其他符号后,错误消失。

下载JS文件后是否修改了它?您得到的是一个解析器错误,原因是语法不正确。