Ng Ng Paste
# AngularJS `ng-paste` Directive
[ AngularJS Reference](#)
* * *
## AngularJS Example
Execute an expression when text is pasted:
[Try it Β»](#)
* * *
## Definition and Usage
The **ng-paste** directive tells AngularJS what to do when text is pasted into an HTML element.
The **ng-paste** directive does not override the element's native onpaste event. When the event is triggered, both the **ng-paste** expression and the native onpaste event will execute.
* * *
## Syntax
The directive is supported by ``, ``, `
YouTip