I am using AngularJS and its ng-repeat directive to display a sequence of questions. I need to number each question starting with 1. How do I display a
ng-repeat
1
Reached here by searching for something similar.
Here is what worked for me.
{{$index + 1}}
+1 is added because the index starts from 0.