perf(ngStyleDirective): use $watchCollection
Since we are simply watching a flat object collection it is more performant to use $watchCollection than a deepWatch... BREAKING CHANGE: Previously the use of deep watch by ng-style would trigger styles to be re-applied when nested state changed. Now only changes to direct properties of the watched object will trigger changes. Closes #15947
G
gdi2290 committed
15bbd3e18cd89b91f7206a06c73d40e54a8a48a0
Parent: 87a586e
Committed by Jason Bedard <jason+github@jbedard.ca>
on 7/27/2017, 4:25:48 AM