AngularJS Directive Labs: ngEnterKey, ngKeyCode
If you have used AngularJS and needed to use ng-keypress, you will find that it can become tedious when you have to add logic into your controller functions to match key codes to your desired functionality.