I have the object properties
which contains objects that are all from the same city. In my template I want to display the city name so the order of the items in the object does not matter. How can I select the first property's city name from my AngularJS template?
<p>These properties are in {{$ctrl.properties.???.city}}</span>
properties: {
'123 Main': {
city: 'Portland',
sqft: 2132
},
'398 Boardwalk': {
city: 'Portland',
sqft: 428
},
'20 Broadway': {
city: 'Portland',
sqft: 492
}
}