You need to use the directive ng-disabled="expression" , according to the main value of the evaluation of the expression, it adds the disabled attribute to this element. You can also use the ng-attr directive to better evaluate attribute values.
Markup
<input type="checkbox" ng-attr-name="{{x.filenumber}}" ng-attr-id="{{x.id}}" class ="pdffiles" value="101SP{{x.initials}}.dwg" ng-disabled="x.status == 'disabled'"/>
If x.status wrote a bool value, you could use ng-disabled="{{x.status}}" directly
source share