how to check the length of a div in html angularjs : i have a scenario to display a <div> if another div exist. How to check this in angular js html page...

In my .js file i can search for element.find().length . Butcan i check the same in html page itself

here is what i have to try .

The scenario is if there is a page exist i dont want to show one error message div . 
This is my index page 

    <div class="body-content">
            <div  class="p-row" ></div> 
            <div data-ng-if="**here to check if there is a content already in the body**" class="error-message-panel"></div>
        </div>