perf($resource): use shallow copy instead of angular.copy
Replace calls to angular.copy with calls to a new function, shallowClearAndCopy. Add calls to copy for cache access in $http in order to prevent modification of cached data. Results in a measurable improvement to the startup time of complex apps within Google. Closes #5300
K
Karl Seamon committed
fcd2a8131a3cb3e59a616bf31e61510b5c3a97d3
Parent: 62dbe85
Committed by Igor Minar <igor@angularjs.org>
on 12/13/2013, 8:24:37 AM