JSFiddle - React, Tailwind, and code Playground
by Evan Sharp
HTML
<div ng-controller="myCtrl">
<form>
<input ng-model="myfield" ng-change="handleKeypress(myfield)" />
</form>
</div>
JavaScript
var myApp = angular.module('app',[]);
function myCtrl($scope,$sce){
$scope.handleKeypress = function(field){
console.log(field);
};
}