this.list = [
{
property: [{anotherProp: true}]
},
{
property: []
},
{
property: [{anotherProp: false}]
}
]
In angular 1 you could reference deep properties and (for the most part) it would keep on rocking:
<div ng-repeat='thing in ctrl.list'>
{{thing.property[0].anotherProp}}
</div>
I'm sure I could just *ngIf the parent property to make sure it exists, or flatten the original POJO. Just wondering if I'm missing something?