I am using angular2 for development and was wondering if there is any alternative for ng-disabled in angular2.
ng-disabled
For ex. below code is in angularJS:
[attr.disabled]="valid == true ? true : null"
You have to use null to remove attr from html element.
null