Passing data between windows across domain in AngularJS

452 Views Asked by At

I am very new to AngularJS and working on an application where I have to open a new window (from another domain) and pass some data to the new window across domain. Can somebody provide me some working sample in angularJS to refer and complete the same. Thanks in advance.

1

There are 1 best solutions below

0
Shubham Takode On

If I understood your question properly then you can achieve this by following ways:

  1. Through URL Parameters
  2. Using subdomain-less cookie if you are talking about subdomains
  3. Using cross-domain localStorage
  4. cross-domain cookie