42
rated 0 times
[
43]
[
1]
/ answers: 1 / hits: 36982
/ 11 Years ago, mon, april 1, 2013, 12:00:00
How would I hide the first element of an ng-repeat?
<div ng-repeat=item in items ng-hide=true>
<div>{{ item.value }}</div>
</div>
This works in that the whole ng-repeat block is hidden, but how would I hide only the first item in items? I want to display it completely differently using more prominent html/etc, so it's useful to have it in that list of data.
More From » angularjs