0
比如我有
$scope.array = [{ foo: 'bar'}, { foo: 'bar2'}]
我想看這個陣列,使得
$scope.array.pop(); //$watch is not called
$scope.array[0].foo = 'newbar'; //$watch is called
$scope.array = [{ foo: 'bar' }, { foo: 'anotherbar' }]; //$watch is not called
是否有可能與$做到這一點範圍。$看?