title: How to get the value on load in angular js
body: <p><strong>This function in jquery</strong></p>
  
  <pre><code>var someval = $('#someid').html();
  if(someval !=""){
  //something
  }else{
  //anything
  }
  </code></pre>
  
  <p>How to write the same function in angularjs ?? I am a beginner in angular js. How to solve this ?? 
  Can anyone provide me some example for this one ?</p>