JSFiddle - React, Tailwind, and code Playground
by Neeraj Yadav
HTML
<div ng-app ng-controller="Ctrl">
<li ng-repeat="item in list">
<input type="checkbox" ng-model="item.isChecked" />
</li>
</div>
JavaScript
function Ctrl($scope) {
$scope.list = [{
'isChecked': true,
'name': 'A'
},
{
'isChecked': false,
'name': 'B'
}];
}