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
Angularjs documentation is full of examples, you just need to take some time and explore it.
See this example here : ngRepeat example , it's the same case.
{{$index + 1}} {{ question.questionText }} {{answer.selector}}. {{ answer.answerText }}