How to load HTML file in an ion-slide?


#1

Hi guys,

I’m doing an HTML file pointer and I do not understand how to load my file contents.

I tried with the Directive ng-include, but I do not know how to solve the problem.

<ion-content scroll="false" ng-controller="AppController">
        <ion-content scroll="false" class="padding">
            <ion-slide-box show-pager="true">
                <ion-slide>
                    <div ng-include="'page1.html'"></div>
                </ion-slide>
                <ion-slide>
                    <div ng-include="'page2.html'"></div>
                </ion-slide>
                <ion-slide>
                    <div ng-include="'page3.html'"></div>
                </ion-slide>
            </ion-slide-box>
        </ion-content>
    </ion-content>

Thanks