Extends the destination object dst by copying all of the properties from the src object(s) to dst. You can specify multiple src objects.
dst
src
angular.extend(dst, src);
Destination object.
Source object(s).
Reference to dst.