I have two ckeckboxes and one is disabled when the second one is clicked. I have done it in angularjs but couldn't do the same thing on angular 5 project?
<li>
<div class="checkbox-inline">
<input type="checkbox" class="notWorking" ng-model="body.NotWorkShift" ng-disabled="body.All"/>
<label translate >Notworkshift</label>
</div>
</li>
<li>
<div class=" checkbox-inline ">
<input type="checkbox" class="allCars" ng-model="body.All" />
<label translate>AllCars</label>
</div>
</li>