title: Angular 4 eqvalent of ng-disabled
body: <p>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?            </p>
  
  <pre><code>&lt;li&gt;
      &lt;div class="checkbox-inline"&gt;
          &lt;input type="checkbox" class="notWorking" ng-model="body.NotWorkShift" ng-disabled="body.All"/&gt;
          &lt;label translate &gt;Notworkshift&lt;/label&gt;
      &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
      &lt;div class=" checkbox-inline "&gt;
          &lt;input type="checkbox" class="allCars"  ng-model="body.All"  /&gt;
          &lt;label translate&gt;AllCars&lt;/label&gt;
      &lt;/div&gt;
  &lt;/li&gt;
  </code></pre>