I have little problem with my ng-repeat
$http.get("/test-server/rest/servizi/listaRuoli")
.success(function(data){
$scope.servizio = data;
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>
the problem is that I can't use track by $index because of mongodb as I read on the web.
Some ideas?
thank you!
track by $index?