Skip to content

Commit

Permalink
Step 6.5: Add new chat view
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent 2d62c0f commit cdf2737
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions www/templates/new-chat.html
@@ -0,0 +1,20 @@

<ion-modal-view ng-controller="NewChatCtrl as chat">
<ion-header-bar>
<h1 class="title">New Chat</h1>
<div class="buttons">
<button class="button button-clear button-positive" ng-click="chat.hideNewChatModal()">Cancel</button>
</div>
</ion-header-bar>

<ion-content>
<div class="list">
<a ng-repeat="user in chat.users" ng-click="chat.newChat(user._id)" class="item">
<h2>{{user.profile.name}}</h2>
<p>
Hey there! I am using meteor-Whatsapp with meteor.
</p>
</a>
</div>
</ion-content>
</ion-modal-view>

0 comments on commit cdf2737

Please sign in to comment.