I have a table where I make a ng-repeat
, so far normal.
<tr data-ng-repeat="item in itemsconfiguration">
<td>{{::item.Description}}</td>
<td>{{::item.Order}}</td>
<td>{{::item.Type}}</td>
<td><span ng-if="item.Active"></span></td>
</tr>
InmycontrollerI'malreadybringingtheenums...
AuditingItemType.query().$promise.then(function(itemtypes){$scope.itemtypes=itemtypes;})
JsonthatIgetfromtheenumtable
[{"$id":"1","Id":0,"Name":"TEXT"},{"$id":"2","Id":1,"Name":"QUANTITY"},{"$id":"3","Id":2,"Name":"MULTIPLE"}]
How can I display it in my table dynamically?