set the ngModel value as the input's value

Solution 1:

You can use only [ngModel]: [ngModel]="sum(data,'feeAssign') || 0"

one-way binding to ngModel with [] syntax