According to this: How to deep watch an array in angularjs? it should work but i dont know what i am doing wrong...
$scope.$watch('statuses', function(newVal, oldValue) {
if (oldValue==newVal) return false;
console.log("st changed");
},true);
And let's say i somehow asynchronly update the $scope.statuses for example after 3seconds
setTimeout(function() {
$scope.statuses.push("ahhh");
},3000);
And nothing happens...any ideas why please?