angular – link [(ngModel)] to [ngClass]

I want to tie my ((ngModel)) object to me (ngClass) property:

My code:

   

But I get the following error:

Error: more than one custom access value matches the form control with the unspecified name attribute