I have a scenario where i need to copy the array of Objects(Main array) to another Temp array which should not have object reference basically if i make any modification to
You can use Angular's copy: angular.copy();
angular.copy();