Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

How to load HTML file in an ion-slide?

$
0
0

@Siltor wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>