<div class="alert alert-danger hidden-xs" role="alert" ng-if="OrderDetails.length == 0" style="font-size: large; font-stretch: expanded;
font-weight: bold;">
<p>We apologize, but currently there are no details for your last order. However, any items you have saved will be automatically added when you place an order.</p>
</div>
Upon loading the above HTML in my browser, it appears before the result from the controller is displayed. Is there a way to prevent this div from loading until the result is available and ready to be shown on the webpage?