JSFiddle - React, Tailwind, and code Playground
by GreenGeorge
HTML
<div ng-controller="Ctrl">
<ul>
<li ng-repeat="item in items">
<input type="checkbox" name="{{item.name}}" ng-model="newItem.{{item.name}}">
<label for="{{item.name}}">{{item.name}}</label>
</li>
</ul>
</div>
JavaScript
function Ctrl($scope){
$scope.items = [
{name:"item1"},
{name:"item2"},
{name:"item3"}
];
};