Javascript pirate’s lounge: Deep clone in AngularJS

TL;DR angular.copy from AngularJS 1.x is quadratic-slow on large objects, especially in IE. Use JSON.stringify/JSON.parse for simple objects or _.deepClone for objects with Date objects or cyclic references. Actually, if you don’t clone objects of more than 1000 nodes, this Continue reading Javascript pirate’s lounge: Deep clone in AngularJS