AngularJS ng-keydown Directive
The AngularJS ng-keydown directive specifies the custom behavior of AngularJS when the keyboard is used on the specific HTML element. It doesn't override the element's original onkeydown event, both will be executed.
Following is the order of a key stroke:
It is supported by <input>,<select>,<textarea>, and other editable elements.
expression: It specifies an expression which is executed when a key is pressed.Test it Now