This function in jquery
var someval = $('#someid').html();
if(someval !=""){
//something
}else{
//anything
}
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 ?