I am struggling with this section of code. It currently shows a box with the first four linked resource images. However, I need it to display additional images if there are less than four. I tried looking for a solution, but couldn't find one.
<div class="collection_box" ng-repeat="i in collections">
<div class="inner_collection_box">
<div ng-repeat="r in i.resources || limitTo:4" class="collection_resource_image_div">
<img class="collection_resource_image" src="/images/resource_images/{{ r.image }}" alt="{{ r.name }}" />
</div>
<strong>{{ i.name }}</strong>
</div>
</div>