use ngModel to synchronize the value