title: Disable the buttons inside div using ng-disabled
body: <p>I have a div which has many buttons and a main button. I want to disable whole div once main button is clicked. Something like following</p>
  
  <p></p>
  
  <p>
      
      
      
    </p>
  
  <pre><code>&lt;body ng-app&gt;
      &lt;div ng-disabled="disableDiv"&gt;
        &lt;input type="button" value="btn1" &gt;
        &lt;input type="button" value="btn2" &gt;
        &lt;input type="button" value="btn3" &gt;
        &lt;input type="button" value="Main Button" ng-click="disableDiv=true"&gt;
      &lt;/div&gt;
    &lt;/body&gt;
  </code></pre>