Europace - behind the scenes
  • Home
  • Impressum
  • Datenschutz

tab

Einblicke, Gedanken, Ideen, Veranstaltungen unserer Kollegen, die Europace entwickeln

angularjs

How to open async calls in a new tab instead of new window within an AngularJS app

I recently wanted to generate a PDF on users demand and show it in a new browser tab. Sounds trivial, at first not for me 🙂 I tried it with different „solutions“ and on my way my google search result got better and better. With „open window new tab without popup blocker async“ I finally found in this thread a nice and easy solution. The trick is to remember the reference to the new window and change the location of that window when your asynchron call completes.

  • leif
    leif
leif 19 August 2014 • 1 min read
Europace - behind the scenes © 2014
Latest Posts Twitter Hugo Casper3 by Jonathan Janssens