Created
January 12, 2015 00:57
-
-
Save RangerRick/b60fdcdd13aa73e5a84e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 && 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