title: Angular template is not updated on beforePrint event
body: <p>I would like to update my template before print it.
  So I have used this event: <code>@HostListener(&quot;window:beforeprint&quot;, [&quot;$event&quot;])</code></p>
  <p>But the template is updated too late; after closing the print window.</p>
  <p>I have tried the <code>matchMedia</code> event but same.
  I also tried to use <code>NgZone</code> but without success.</p>
  <p>You can test here: <a href="https://stackblitz.com/edit/angular-window-before-print-event" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-window-before-print-event</a></p>
  <blockquote>
  <p>/!\ The Stackblitz console is not the right. You need to open the DevTool console to see the right message at the right time</p>
  </blockquote>
  <p>Do you have any suggestion ?
  Thanks for your help !</p>