I have a <ul>
of elements in html with roughly the structure as follows:
<ul id="ElementList">
<li> Some element 1 </li>
<li> Some element 2 </li>
<li> Some element 3 </li>
<li ng-repeat="element in someArray" ng-show = "SomeCondition"> element </li>
</ul>
I want to hide the Element list completely if there is no element after element 3 and show the complete list if there is any element seen after element 3. The array used for ng-repeat and the condition for ng-show above are something that I cannot make use of or rather understand how it works (comes from a third party) and hence can play around only with what is rendered. How can I do this?