JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp">
<input type="checkbox" ng-model="disablelist" ng-click="checkitems">Check this box to enable the other.. <br><br>
<input type="checkbox" ng-disabled="!disablelist" ng-checked="checkitems">When this checkbox is disabled it also must get unckeched
</div>
JavaScript
var app = angular.module('myApp', []);