Для angular2+
<button type="text" [attr.disabled]="candidature.statusCandidature.libelle == 'En cours' ? true : null" >edit </button>
Для angular1+
<button type="text" ng-disabled="candidature.statusCandidature.libelle == 'En cours'" >edit </button>
Вот это ДЕМО
Ps:
Для отключенного тега привязки свойство doesnot
существует,
, которое необходимо сделать,
<a [attr.href]="candidature.statusCandidature.libelle == 'En cours' ? null : '#'"
[class.disabled]="candidature.statusCandidature.libelle == 'En cours'" >edit </a>
css:
a.disabled {
color: gray;
cursor: not-allowed;
text-decoration: underline;
}