Are AngularJS apps treated as windows? Can you attach an eventlistener to them?
I am trying to conduct a proof of concept for whether an Angular app can make a no-prompt to a server and get the response back without affecting the host.
The best option I've come to is using .postMessage()
to initiate a call to the server in a hidden iframe
then having the host in the iframe
.postMessage()
the message back. I have been able to accomplish this with nested iframes
but want to adapt this concept to an Angular app.
Is this possible?