angular/angular.js — pull request #5036 by wizardwerdna (2013-11-19 19:41:49+00:00)
Title: fix(angular.mock) Repair attempts to modify Error instances, which breaks in PhantomJS and Safari

Repairs bugs that prevents injected functions from reporting correct error message and stack information in PhantomJS and Safari, discussed in issue [4994](https://github.com/angular/angular.js/issues/4994)