AngularJS ng-paste Directive
The AnglarJS ng-paste directive specifies the custom behavior of AngularJS when text is pasted into an HTML element. It doesn't override the element's original onpaste event, both will be executed.
It is supported by <input>, <select>, and <textarea> and other editable elements.
expression: It specifies an expression that is executed when text is being pasted into an element.
Let's take an example to demonstrate the usage of the ng-paste directive.
See this example:Test it Now
Next TopicAngularJS ng-pluralize Directive