我使用angular.js 1.3.0版本,並有包含在index.html的角度引導用戶界面如下:包括角1.3.0項目的角度引導用戶界面
<script src="lib/onsen/js/angular/angular.js"></script>
<script src="https://code.angularjs.org/1.3.1/i18n/angular-locale_en-gb.js"></script>
<script src="lib/onsen/js/onsenui.js"></script>
<script src="js/ui-bootstrap-0.12.1.min.js"></script>
<script src="js/ui-bootstrap-tpls-0.12.1.min.js"></script>
<script src="js/app.js"></script>
當我爲我的我得到以下錯誤信息:
www\js\ui-bootstrap-tpls-0.12.1.min.js
line 8 col 1617 Expected '{' and instead saw 'if'.
line 8 col 1640 Expected '{' and instead saw 'return'.
line 8 col 1651 Missing semicolon.
line 8 col 1823 Missing semicolon.
line 8 col 1825 Missing semicolon.
line 8 col 1968 Missing semicolon.
line 8 col 2048 Missing semicolon.
line 8 col 2059 Missing semicolon.
line 8 col 2416 Missing semicolon.
line 8 col 2608 Missing semicolon.
line 8 col 2614 'e' is already defined.
line 8 col 2660 Missing semicolon.
line 8 col 2780 Missing semicolon.
.....
.....
line 8 col 9980 Too many errors. (80% scanned).
× 101 problems
我在做什麼錯?
角引導需要AngularJS 1.2.x的 – 2015-04-04 05:47:13
我看也是如此,但Google找到一個解決方案時,我碰到的1.3運行例子來。X。這裏是一個:http://plnkr.co/edit/b8BvCLDCPhjQkRlV0x85?p=preview – 2015-04-04 05:50:11
這是我打算在我的應用程序中執行的操作:http://plnkr.co/edit/XEmV9xVjRSxLcihwodQs – 2015-04-04 05:54:14