Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tutorial App part 4 - tab-articles.html
<ion-view view-title="Articles">
<ion-content>
<ion-list>
<ion-item class="list card" ng-repeat="article in articles" type="item-text-wrap" href="#/tab/articles/{{article.nid}}">
<h2 class="title">{{article.title}}</h2>
<div class="item item-image">
<img ng-src="{{article.image}}">
</div>
</ion-item>
</ion-list>
<ion-infinite-scroll on-infinite="loadMore()" ng-if="morePageExist" distance="1%"></ion-infinite-scroll>
</ion-content>
</ion-view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.