use ngModel instead of pushing an event