I am using custom directive and [ngClass]="{\'ui-state-disabled:config flag}" so based on the flag it should change it it\'s not working as expected