title: How to detect when content has loaded?
body: <p>I'm creating a print page for my site: <a href="http://vivule.ee/0/print" rel="nofollow">http://vivule.ee/0/print</a></p>
  
  <p>I want to initiate <code>window.print()</code> when the page has loaded. I have tried different approaches, but have been unsuccessful. I know it's possible, because I can listen for finished Ajax calls, but how's it done in Angular?</p>
  
  <p>My info path: HTML->angular->php->mysql table->php->json->angular->HTML</p>