<ul class="image-layers">
    <li ng-repeat="layer in layers track by layer.id" class="hint-{{ layer.hint }}">
        <span title="{{ layer.size }}">{{ formatSize(layer.size) }}</span>
        <p>{{ layer.label}}</p>
    </li>
</ul>

<ul class="image-layers">
    <li ng-repeat="layer in layers" class="hint-{{ layer.hint }}">
        <span title="{{ layer.size }}">{{ formatSize(layer.size) }}</span>
        <p>{{ layer.label}}</p>
    </li>
</ul>

Fix angular errors when duplicated layer ids
kubernetes: Fix angular errors when duplicated layer ids

This happens in strange situations, and depending on external data
causes an angular Ooops to happen.

Closes #4604
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>
