I am trying to display data using an Angular expression, but I also want to show a different message if the expression returns no data. However, my current approach is not working as expected. Can someone help me correct it?
<span class="detail">
{{details.info}}
</span>
In cases where there is no data returned by the expression, I want to display another div. Here's the code snippet:
<span ng-show="!details.info">
<p class="no">No Data</p>
</span>