引入多个angular.js时候,angular程序会出错
Wscats opened this issue · comments
enoyao commented
比如下面这行代码,实际上引入了两个angular.js和ionic.js,这样会引发致命错误,Angular程序只能引入一个angular.js,因为ionic.bundle.js本身就包含了angular.js和ionic.js
<script type="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/ionic.min.js"></script>
<script src="js/ionic.bundle.js"></script>
导致ng-repeat失效
<p ng-repeat="m in music"></p>