splice(0, 0, angular.copy($scope.locationData));. This is nice and simple and because of the deep copy should work reliably with most objects ...
確定! 回上一頁