I have this code
<div class="photo-gallery1" *ngIf="plans.attachments.length > 0">
...
</div>
and here is json which is plans
and I'm getting error
What can I do? I've tried plans[0].attachments
as well but then error is that angular has no idea what 0 is