I try to display the number of images in this array but i can't figure why this is not working and it makes me crazy !
<ion-item ng-click="openModal(value.$id)" ng-repeat="value in items | orderBy: '-$id' track by $index "
class="item item-avatar" style="text-align:left">
<img ng-if="value['image'].image" ng-src="data:image/jpeg;base64,{{value['image'].image}}">
<img ng-if="!value['image'].image" ng-src="img/shelter.png">
<h2>{{value.nom}} </h2>
<p>{{value.adresse}}</p>
<p>{{items[0].images.length }} Photographie(s)</p>
</ion-item>
How can i display the length of this "images" object please ? What is missing ?
EDIT : {"-KO5d2zxMY9wZd9Vp64s":true} Photographie(s)
is displaying when i put
<p>{{value.images }} Photographie(s)</p>