I have an ng-repeated list how do I show a button within the list only if $index is more than 1 ?
plunkr to get started: Plunkr
ng-if is only in available in angular 1.1.5 and later. Either upgrade the Angular version, or use ng-show instead:
<p data-ng-show="$index > 1">
<a href="#">This button will only show when index is more than 1</a>
</p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With