JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="myApp">
    <input type="checkbox" ng-model="disablelist" ng-click="otherOption = false" /> Check this box to enable the other..
    <br />
    <input type="checkbox" ng-disabled="!disablelist" ng-checked="!!otherOption && !disableList" ng-model="otherOption" /> When this checkbox is disabled it also must get unckeched
</div>

JavaScript

var app = angular.module('myApp', []);