When deep $watch is needed on an array, but not for the entire object, you can strip off irrelevant data, this way you make the comparison much faster.$scope.$watch(funct...
记录遇到问题的点点滴滴。
When deep $watch is needed on an array, but not for the entire object, you can strip off irrelevant data, this way you make the comparison much faster.$scope.$watch(funct...