2
我有下面的代碼,讓你知道,我是新來angularjsAngularjs數據-NG-重複不工作
<!DOCTYPE html>
<html data-ng-app="">
<head>
<!-- <script src="scripts/angular.js"></script>-->
<title>Angular js</title>
</head>
<body data-ng-init="names=['Ran','Run','Run']">
<br />
<ul>
<li data-ng-repeat="personName in names">{{personName}}</li>
</ul>
<script src="scripts/angular.min.js"></script>
</body>
</html>
沒有從李的名字顯示值..... 任何幫助或建議,以解決這一問題
或 '由$索引道' 添加至年底重複表達 –
https://github.com/angular/angular.js/pull/2505#issuecomment-17012537 – user700284