AngularJS, Front End Development

AngularJS : copy vs extend

While using AngularJS, you will usually come across this situation when you want to copy one object to another object. In such case you will have only two solutions: angular.copy() or angular.extend(). Lets see how these solutions work. 1. angular.copy(source, destination) : It creates a deep copy of source object or array and...

by Sakshi Tyagi
Tag: copy
06-Feb-2014