Your markup should contain an additional attribute called ng-disabled whose value should be a condition or expression that would evaluate to be either true or false.
And in the controller you may have some code that would affect the value of ng-disabled directive.