now handling keyboard events in angular