JSFiddle - React, Tailwind, and code Playground
by Daniel Lamb
HTML
<div ng-app="myApp">
<div ng-controller="Example">
<input ng-cut="update()" />
cut: {{cut}}
</div>
</div>
JavaScript
angular.module('myApp', [])
.controller('Example', ['$scope', function ($scope) {
$scope.cut = false;
$scope.update = function () {
$scope.cut = true;
};
}]);