angular keyup keydown same time code example Example: angular keydown <input (keydown)="onKeydown($event)">