Ng Ng Keyup
π
2026-06-23 | π Angular
# AngularJS `ng-keyup` Directive
[ AngularJS Reference](#)
* * *
## AngularJS Example
Code executed when key is released:
{{count}}
[Try it Β»](#)
* * *
## Definition and Usage
The **ng-keyup** directive tells AngularJS what operation to perform when a key is released on a specified HTML element.
The **ng-keyup** directive does not override the element's native onkeyup event. When the event is triggered, both the **ng-keyup** expression and the native onkeyup event will execute.
Key press event order:
1. Keydown
2. Keypress
3. Keyup
* * *
## Syntax
, ,