AngularJS watch object
http://stackoverflow.com/questions/11592538/nested-models-in-angularjs
Resources:
https://groups.google.com/d/topic/angular/VD77QR1J6uQ/discussion
https://groups.google.com/d/topic/angular/-Tx8U9Xm07k/discussion
HTML
<div ng-app="watchApp" ng-controller="watchCtrl">
<div ng-repeat="a in arr">
Name: <input type="text" ng-model="a[0][0]" ng-change="getChanged(a[0][0])" />{{a[0][0]}}
</div>
</div>
JavaScript
angular.module('watchApp', []).controller('watchCtrl', function($scope) {
$scope.arr = [
[["TTT", 23],3],
[["PPP", 23],3],
[["KKK", 23],3]
];
$scope.getChanged = function(newValue) {
alert('getChanged(), new value: ' + newValue);
}
});