JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="app" ng-controller="MainCtrl">
<button ng-click="changeAllValues()">
Change All Values
</button>
<div ng-repeat="(id,name) in names">
<div> {{name.label}} </div>
<div> {{name.value}} </div>
</div>
</div>
JavaScript
angular.module('app', [])
.controller('MainCtrl', function($scope) {
$scope.names = [{
label: 'John',
value: 0
}, {
label: 'Jeremy',
value: 0
}, {
label: 'Jeff',
value: 0
}, {
label: 'Julio',
value: 0
}];
$scope.changeAllValues = function(){
}
});