angular/angular.js — pull request #5314 by kseamon (2013-12-06 19:52:07+00:00)
Title: fix(angular-mocks): Use copy of mock data in $httpBackend

fix(angular-mocks): Use copy of mock data in $httpBackend

Copy mock data returned from the mock $httpBackend.
This prevents modifications to the response from affecting future responses.
Previously, this misbehavior was being mitigated by the deep copy in $resource, but that no longer exists.

https://github.com/angular/angular.js/issues/5265