<!DOCTYPE html>
<html>
<script src="/lib/angular-1.4.8.min.js"></script>
<body ng-app="">

<input ng-cut="count = count + 1" ng-init="count=0" value="Cut this text" />

<p>The text has been cut {{count}} times.</p>

<p>This example will increase the value of the variable "count" every time you cut the text in the input field.</p>

</body>
</html>