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

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -