[SOLVED][BUG?] Collection-repeat inside ion-tabs inside modal

Normally each tab has its own view, defined on the ui-router, but because you’re in a modal you can’t define a view on the ui-router(it’s a known limitation), so you have to define it inline, like this:

<ion-tabs>
    <ion-tab>
        <ion-view>
            <ion-content>
            ...
            </ion-content>
        </ion-view>
    </ion-tab>
    ...
</ion-tabs>

Reference: How to create several tab on pop-up/modal?
Pen: http://codepen.io/nuba/pen/EjEjEm