Hi,

I have a person object, which uses an Address object

"Person": {
     "Id": 1,
     "Forename": "Forename",
     "Surname": "Surname",
     "Address": {
        "Id": 1,
        "Line 1": "Line 1,
     }
}

I trying to access the data for the form where the person would update the 
details

<input type="text" name="addressLine1" 
data-ng-model="Person.Address[0].Line1" />

Doesn't work.  What am I doing wrong?  How should I be accessing "Line 1"?

Thanks in advance,
David

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to