I have a nested ng-repeat. I want to arrange order of the inside list by dynamic options.
i.e. the sort_option value is from $scope variable getting dynamically. This will give all inside ul list are in sorted order, but I want to sort only one list inside the loop.
<ul>
<li ng-repeat='itemsli in mylists.lists'>
<ul>
<li ng-repeat="item in list | orderBy: sort_option | filter: {due_date_time : current_date_time}">
{{item.name}}
</li>
</ul>
</li>
</ul>