ngDisabled (directive)

Improve this Doc View Source ngDisabled

  1. directive in module ng

We shouldn't do this, because it will make the button enabled on Chrome/Firefox but not on IE8 and older IEs:

<div ng-init="scope = { isDisabled: false }">
<button disabled="{{scope.isDisabled}}">Di