更新时间:2022-03-05 17:19:58
acoording这个问题:
How摆脱未捕获的SyntaxError的:意外的令牌:尝试加入 angular.callbacks._0(JSON)
在你的服务器端的JSON调用。它为我工作
acoording to this question:
How to get rid of Uncaught SyntaxError: Unexpected token : try adding angular.callbacks._0 (JSON)
around your server side json call. it worked for me
这是plunker http://plnkr.co/edit/oX2UQRBA41FIHpwAP6AA
This was the plunker http://plnkr.co/edit/oX2UQRBA41FIHpwAP6AA