for (var exampleAnnotationIndex = 0; exampleAnnotationIndex < annotations.length; exampleAnnotationIndex++) {
                    $scope.currentStepResults.annotationExampleOrder.push({
                        'index': exampleAnnotationIndex,
                        'step': $scope.step,
                        'annotationId': annotations[exampleAnnotationIndex].id,