angularjs - How to pass value from one window to another? -
i need on click open new window , pass $scope values window.how can that?
im using code:
$scope.confirmticketpayout = function (pinticket, username) { $scope.pinticket = pinticket; accountdataproviderservice.confirmticketpayout($scope.terminalid, pinticket, username) .then(function (response) { $scope.confirmticketpayout = response; if ($scope.confirmticketpayout.result == true) { $window.open('/ticketprint'); } }); } so need pass $scope.pinticket window
Comments
Post a Comment