events list templeted, now, only in the file templateEvents.html

This commit is contained in:
arnaucode
2017-02-24 23:19:51 +01:00
parent 3c6bb7c7bb
commit da8c91830e
10 changed files with 53 additions and 114 deletions

View File

@@ -6,7 +6,7 @@
ng-show="alerts">
<i class="icon ion-android-alert"></i> <b>{{alerts.length}}</b> Emergency alerts!
</a>
<div class="card" ng-repeat="event in events">
<!--<div class="card" ng-repeat="event in events">
<a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
<img ng-src="{{event.user.img}}">
<h2>{{event.user.username}}</h2>
@@ -42,6 +42,7 @@
<i class="icon ion-heart"></i>
</a>
</div>
</div>
</div>-->
<div ng-include="'templates/templateEvents.html'"></div>
</ion-content>
</ion-view>