angular create an object from 2 arrays code example Example: angular append array to another this.results = [ ...this.results, ...data.results];