<table align="center">
<tr>
<th>No</th>
<th>Movie Title</th>
</tr>
<tr data-ng-repeat="mov in movie | pagination: curPage * pageSize | limitTo: pageSize | filter:searchText" data-ng-show="showSuccessMessage" data-ng-click="selectMovie($event,mov)" data-ng-class="{'selected':selectedMovie.film_id===mov.film_id}" style="cursor: pointer;">
<td>
</td>
<td>
{{mov.title}}
</td>
</tr>
</table>
Aboe code is work properly but how can i count the number and display in No??
Result

try this
<table align="center">
<tr>
<th>No</th>
<th>Movie Title</th>
</tr>
<tr data-ng-repeat="mov in movie | pagination: curPage * pageSize | limitTo: pageSize | filter:searchText" data-ng-show="showSuccessMessage" data-ng-click="selectMovie($event,mov)" data-ng-class="{'selected':selectedMovie.film_id===mov.film_id}" style="cursor: pointer;">
<td>
{{ $index + 1 }}
</td>
<td>
{{mov.title}}
</td>
</tr>
</table>
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