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 Continue ReadingJavascript pirate’s lounge: Deep clone in AngularJS