My first ever angular application is a pretty basic survey tool. I have multiple choice questions, with a button for each answer and a basic function that logs each answer o
If you insist on using AngularJS to detect the keypress event, ngKeypress is what you want to use.
ngKeypress
You can check out the documentation for ngKeypress for more information. You might also want to check out the ngKeydown and ngKeyup directives.