Extends the destination object dst
by copying all of the properties from the src
objects to
dst
. You can specify multiple src
objects.
angular.extend(dst, src);
dst – {Object} –
The destination object.
src – {...Object} –
The source object(s).