YouTip LogoYouTip

Ng Ng Cut

# AngularJS `ng-cut` Directive [![Image 3: AngularJS Reference Manual](#) AngularJS Reference Manual](#) * * * ## AngularJS Example Execute an expression when the text in an input field is cut: [Try it Β»](#) * * * ## Definition and Usage The **ng-cut** directive is used to tell AngularJS what operation to perform when the text of an HTML element is cut. The **ng-cut** directive does not override the element's original oncut event. When the event is triggered, both the **ng-cut** expression and the original oncut event will be executed. * * * ## Syntax , , ,