angular/angular.js — pull request #5252 by kseamon (2013-12-03 23:20:36+00:00)
Title: chore($resource): Use shallow copy instead of angular.copy

chore($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.