Skip to content

Instantly share code, notes, and snippets.

@danielrvt
Created February 25, 2015 15:56
Show Gist options
  • Save danielrvt/6f90324f5188a99a5ad1 to your computer and use it in GitHub Desktop.
Save danielrvt/6f90324f5188a99a5ad1 to your computer and use it in GitHub Desktop.
Lista de chats con ionic
<ion-view view-title="Chats">
<ion-content>
<ion-list>
<ion-item class="item-remove-animate item-avatar item-icon-right" ng-repeat="chat in chats" type="item-text-wrap" href="#/tab/chats/{{chat.id}}">
<img ng-src="{{chat.face}}">
<h2>{{chat.name}}</h2>
<p>{{chat.lastText}}</p>
<i class="icon ion-chevron-right icon-accessory"></i>
<ion-option-button class="button-assertive" ng-click="remove(chat)">
Delete
</ion-option-button>
</ion-item>
</ion-list>
</ion-content>
</ion-view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment