3
我沒有什麼問題,我ng-repeat
角JS NG重複重複的項目
$http.get("/test-server/rest/servizi/listaRuoli")
.success(function(data){
\t $scope.servizio = data;
\t console.log(data.label);
})
<div class ="input_form_right">
<strong>Seleziona un Servizio</strong> (obbligatorio)<br>
<select class="size_input_newbg">
<option ng-repeat="x in servizio" ng-bind = "x.label"></option>
</select>
</div>
的問題是,當我在讀我不能$index
使用,因爲mongodb
軌道網頁。 有些想法? 謝謝!
您的問題有點混淆。標題說了些什麼,問題的內容說了別的。這是什麼? – Ionut
你甚至嘗試過使用'track by $ index'嗎? – Weedoze