angular/angular.js — pull request #10116 by mohsen1 (2014-11-18 23:20:34+00:00)
Title: fix(ng): in angular.copy do not call hasOwnProperty on objects with not ...

...prototype

angular.copy can be called with an object that has no prototype. Call
Object.prototype.hasOwnProperty instead of object.hasOwnProperty to
safely check if object has a property