I have two arrays now once i rendered the data from backend i want to push just object from array2 to array1 not the array itself.
How can i just push object from array2 to array1 I dont want to push as array.
ctrl.js
var array1 = [{name:'john', address:'cliffwood ave'}]
var array2 = [{name:'Mike', address:'florence ave'}]
array1.push(array2);