我深深的注視着角的對象,
$scope.$watch('bigObject', function(newVal, oldVal, scope) { //Watch the whole object
console.log("The key that changed was: " + key);
}, true); //Deep watch
我怎樣改變了鑰匙?
輸出示例:The key that changed was: bigObject.users.john.birthday
我想使用[在兩個物體之間的通用深DIFF]的(https://stackoverflow.com/a/25651677/ 2435473) –