I am currently dealing with a nested ng-repeat
situation where I am attempting to determine the parent's index.
Due to the fact that it is being arranged post-process, the standard
ng-repeat="(step_index, step) in flow"
method is not working for me. Can anyone shed some light on why this might be occurring?
<ul>
<li ng-repeat="step in flow | orderBy:'+step_number'">
<div class="step_container">
<div class="step_content">
<div ng-repeat="task in step.tasks">
<div class="task_container">
<div class="task_content">
{{ $parent.$index }} - {{ $index }}
</div>
</div>
</div>
</div>
</div>
</li>
</ul>