title: window.onload does not work in AngularJS
body: <p>This code in a simple HTML file works:</p>
  
  <pre><code>&lt;script&gt;
    function load() {
      alert("load event detected!");
    }
    window.onload = load;
  &lt;/script&gt;
  </code></pre>
  
  <p>However, if I put it into the index.html file of an AngularJS web app, it does not.  Does anybody know why not?  </p>