merge two array into object anugular code example Example: angular append array to another this.results = [ ...this.results, ...data.results];