I have existingAssignments = {};
I want to merge these 2 sources into existingAssignments var seriesSrc = { "valueName": this.model.Series, "variableName": "Defaults.Series" }; var styleSrc = { "valueName": this.model.Style, "variableName": "Defaults.Line_Header.Style" }; I'm trying to get it to look like: existingAssignments [{ "valueName": this.model.Series, "variableName": "Defaults.Series" },{ "valueName": this.model.Style, "variableName": "Defaults.Line_Header.Style" }] Anything available similar to angular.merge? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.