JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="changeApp" ng-controller="SomeCtrl">
<input type="text" ng-model="input"></input>
</div>
JavaScript
var app = angular.module('changeApp', [])
.controller('SomeCtrl', function ($scope) {
$scope.$watch('input', function (now, then, scope) {
now = now || '';
then = then || '';
if (now.length > then.length && (now.length - then.length) > 1) {
console.log('PASTED OR AUTOFILL');
} else {
console.log('NORMAL TYPING');
}
});
})