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.
-
Do you know JS? Not angular, just JS. Because this is native functionality. Take a look at stackoverflow.com/questions/1830347/…CerebralFart– CerebralFart2016-05-11 10:07:42 +00:00Commented May 11, 2016 at 10:07
-
Will this solution work cross domain? I have tried for same application it works but did not work across domain.Chinmayajeet Ojha– Chinmayajeet Ojha2016-05-11 11:49:01 +00:00Commented May 11, 2016 at 11:49
-
For cross-domain you would need to use some AJAX, URL-params, or some more exotic solution. Sorry I didn't read the question correctly.CerebralFart– CerebralFart2016-05-11 11:56:41 +00:00Commented May 11, 2016 at 11:56
-
But how do the domains differ?CerebralFart– CerebralFart2016-05-11 11:57:03 +00:00Commented May 11, 2016 at 11:57
-
Any pointers or sample code would be really helpful.Chinmayajeet Ojha– Chinmayajeet Ojha2016-05-11 11:57:24 +00:00Commented May 11, 2016 at 11:57
Add a comment
|