Using ngIf to filter ion-slides created by ngFor

So I’m trying to have a modal filter slides generated by an ngFor. Here’s what I have:

<ion-slides loop="true" autoplay="false">
    <ion-slide *ngFor="#category of categories, #i=index">
        <ion-list *ngIf="">
           ...HTML Content

With AngularJS 1, I’d use ng-if on the same line as the ng-for. However, this doesn’t work here; some Googling has revealed this: As such, the best I can do is to put the ngIf on the ion-list beneath the ion-slide, as per the code above. The problem with this, however, is that while the slide content is hidden, the slides are still there (albeit empty). I’d like to only create slides if the property is true. Thanks in advance!

I have the same problem? Did anybody find solution? Thanks.