Here is an example:
<div class="row" ng-repeat="(key, value) in sections">
<h5>{{ value }}</h5>
<ul>
<li ng-repeat="item in $parent.items | filter: key">{{ item.name }} -- {{ item.section }}</li>
</ul>
</div>
The goal is to filter the nested ng-repeat
of items based on the section key
.
This setup will allow each item to display related items, where {{ item.section }}
matches {{ value }}