AngularJS ng keydown Directive
AngularJS ng-keydown Directive
The ng-keydown directive is used to tell AngularJS what to do when the keyboard event key down has occurred on the specific HTML element. It will not override the default onkeydown event and both will be executed.
Order of keystroke will be:-
< element ng-keydown="expression" >< /element >
|expression||An expression to execute when a key is pressed.|