Skip to content

Instantly share code, notes, and snippets.

@RangerRick
Created January 12, 2015 00:57
Show Gist options
  • Save RangerRick/b60fdcdd13aa73e5a84e to your computer and use it in GitHub Desktop.
Save RangerRick/b60fdcdd13aa73e5a84e to your computer and use it in GitHub Desktop.
<ion-content scroll="true" padding="false">
<ion-refresher pulling-text="Pull to refresh..." on-refresh="doRefresh()"></ion-refresher>
<ion-list>
<a ng-repeat="entry in entries" class="item item-avatar item-text-wrap" href="#">
<img ng-src="{{twitarrRoot}}api/v2/user/photo/{{entry.author}}" />
<h2 ng-bind-html="users[entry.author]? users[entry.author].display_name : entry.author"></h2>
<p ng-bind-html="entry.text"></p>
</a>
</ion-list>
<ion-infinite-scroll on-infinite="loadMore()" ng-if="entries.length < 500 &amp;&amp; nextPage !== 0" distance="5%"></ion-infinite-scroll>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment