JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.2.0.min.js"></script>
<div ng-app="myApp">
<div ng-controller="listdata">
<input type="text" ng-model="id" ng-change="editItem(id)">
<input type="text" ng-change="editItem(title)"ng-model="title">
<input type="text" ng-model="number">
</div>
</div>
JavaScript
var app = angular.module('myApp', [
'my.controllers'
]);
var controllers = angular.module('my.controllers', []);
controllers.controller('MyController', function($scope) {
});
controllers.controller('listdata', function ($scope, $http) {
$scope.editItem = function (value) {
console.log("currentValue" + value);
console.log("ID:" + $scope.id + " Title: " + $scope.title +" Number:" + $scope.number);
};
})