I'm getting an error when I supply the list property acc.Contacts to the aura iteration component.
<aura:application>
<aura:attribute name="acc" type="Account"
default="{
'sobjectType': 'Account',
'Contacts': [{'sobjectType': 'Contact', 'Name': 'test'}]
}"
/>
<aura:iteration items="{!v.acc.Contacts}" var="contact">
<span>
{!contact.Name}
</span>
</aura:iteration>
</aura:application>
Result: "Something has gone wrong. [NoErrorObjectAvailable] Aura.loadComponent(): Failed to initialize application."
Is iterating over a list property not supported?