title: paygate payment transaction,angularjs/javascript,getting back after payment,http
body: <p>I am new to angular js/javascript .
  There is a need to do payment .
  For this i am getting a secure url from the sever ,while opening that its navigating to paygate transaction (and the procedure goes on until the payment is made).
  Now what i need is to get back again to my application after the payment is completed / how can i access the http headers or url of that particular page to get back from my application .(is there any possibility of running my code backend while the payment is going on ?)</p>
  
  <p>just by using
       window.location.href="secure ulr";
  this doesn't make to access / i can't able to access.</p>
  
  <p>how to do this whole procedure in javascript .
  I don't know how to do .
  Any help will be appreciaed.please.</p>