Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mayroncachina/b6e4d1445195cf2a1fc4acfe80722492 to your computer and use it in GitHub Desktop.
Save mayroncachina/b6e4d1445195cf2a1fc4acfe80722492 to your computer and use it in GitHub Desktop.
<ion-view view-title="Mensagens" ng-controller="Messages">
<ion-nav-bar class="bar-royal" ng-controller="Back">
<ion-nav-buttons side="left">
<button class="button back-button buttons button-clear header-item" ng-click="myGoBack()">
<i class="ion-chevron-left"></i> Voltar
</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content class="messages-chat" class="has-header">
<ul>
<li ng-repeat="message in messages">
<label>{{ message.from }}</label>
<p>{{ message.text }}</p>
</li>
</ul>
</ion-content>
<!--provavel problema -->
<div class="messages-bottom">
<div class="textarea">
<textarea ng-model="text" id="message"></textarea>
</div>
<i class="icon ion-paper-airplane" ng-click="send()"></i>
</div>
</ion-view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment