Deepcopy in AngularJs

$scope.updateShiftSummary = function () {
    $scope.shiftModalSummary = angular.copy($scope.shiftSummary); <---
    $('#updateShiftModal').modal('show');
};
SAMER SAEID