例如,我有一个类似于$scope.array = [{text:'abc'}, {text:'pqr'}, {text:'xyz'}]; Now 的文本数组,ng-repeat我想要更改数组中任何特定元素的文本颜色.怎么实现呢?
$scope.array = [{text:'abc'}, {text:'pqr'}, {text:'xyz'}];
ng-repeat
angularjs
angularjs ×1