AngularJS | ng-paste Directive
The ng-paste Directive in AngularJS is used to specify custom behavior functions when the text in input fields is pasted into an HTML element. It can be used to call a function which will be triggered when the text is pasted into the input field. It is supported by <input>, <select> and <textarea>.
<element ng-paste="expression"> Content ... </element>
Where expression tells what to do when the input is pasted into an HTML element.