0

I need to pass my object using $state.go method. my list date is

$scope.oldList = $stateParams.userDetailList;

when console above

console.log($scope.oldList)

data showed correctly. therefor no issue about the data.

now when I call go back function, I need to pass $scope.oldList data to the other page. my goback function is as below. this function is in (sanction-screening-view page)

    $scope.goBack = function () {
    $state.go("app.sanction-screening");
  };

I need to pass my $scope.oldList object to the "app.sanction-screening" route. how i do it.

1

1 Answer 1

0

The go function can take two parameters:

$state.go('app.sanction-screening', $scope.oldList);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.