title: How can I make sure some javascripts can be executed after Angular JS is done
body: <p>I need to execute some javascript after angular js finishes its routing and DOM rendering.</p>
  
  <p>How could I do it?</p>
  
  <p>Let's say I need to run OtherJavascript.js after Angular rendered its DOM and routing</p>
  
  <pre><code>&lt;body ng-app="portal"&gt;
  &lt;div ng-include="'app/tpl/header.html'"&gt;&lt;/div&gt;
  &lt;ui-view/&gt;
  &lt;div ng-include="app/tpl/footer.html"&gt;
      &lt;script src="dist/js/dependent.min.js"&gt;&lt;/script&gt;
      &lt;script src="dist/js/ng_required.min.js"&gt;&lt;/script&gt;
      &lt;script src="dist/js/app.min.js"&gt;&lt;/script&gt;
      &lt;script src="./app/js/controllers/cart_base.js"&gt;&lt;/script&gt;
      &lt;script src="./app/js/services/tour_package_service.js"&gt;&lt;/script&gt;
      ....
      &lt;script type="text/javascript" src="OtherJavascript.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  </code></pre>