what is copy in angular

It is used to Deep Copy an Object. angular.copy(source, destination) : It creates a deep copy of source object or array and assign it to destination where ‘destination’ is optional. By writing deep copy, we mean that a new copy of the referred object is made.

results matching ""

    No results matching ""