title: When does document.ready() get invoked?
body: <p>In the below parsing phase,</p>
  
  <p><a href="https://i.stack.imgur.com/jZC5b.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jZC5b.png" alt="enter image description here"></a>
  When does $document.ready() get executed?</p>