title: How to trigger the function after DOM markup is loaded in angular style application except onload
body: <p>I need to show a Simple current time with an angular based-application.So have tried a demo.</p>
  
  <p>In the body onload function execute the piece of function.</p>
  
  <pre><code>&lt;body onload="startTime()"&gt;
  function startTime() {
  
  }
  </code></pre>
  
  <p>i don't want in javascript function to execute.
  Onload is a javascript predefined function,In angular is there any directive like ngload ? need to write the custom directive for this or </p>
  
  <p>Nginit is behave like similar or can i call the function inside run block means what are the difference from angular run vs javascript onload?</p>
  
  <p>if using ng-init,need an controllor,without controller run block is there to execute the angular function. is there any other options available to show on the Dom loaded.</p>