Using ng-disable we can enable or disable any html element. When ng-disable set to true the html is element is disabled else enabled.

ng-disable example:

<script src=""></script>
<b>check the checkbox to see ng-disable example.</b>
<div ng-app="">
Check or Uncheck me to see changes:<input type="checkbox" ng-model="isChecked"></input>
<input type="text" ng-disabled="isChecked"></input>
Sample Explained: In the above given sample when user check the checkBox, true is assigned to isChecked model variable else false is assigned.