I'm having my users authenticate with Facebook in a separate window so that I don't need to refresh the web app.
I have the redirect go to a route with an HTML file that simply calls window.close()
Unfortunately, the HTML file containing window.close() only loads after all the Angular modules have downloaded in the window.
Is there a way to close the window immediately, before loading all these modules?