Use angular.copy instead of extend to pad Array.