Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I have a data set that looks like this

data[    
{ Case:
"case" : 'a'
        {AIO:
        'aio_id' : 1,
        'custnum': 1
                 {customer:
                 'custnum':1, 
                 'firstname':'johndoe'}
         }
  }];

I am trying to access the firstname through angularas below

{{data.Case.AIO[0].custnum}}  //shows1
{{data.AIO.customer[0].firstname}} //still shows 1

Can you please tell me what I am doing wrong by dotting down as my results still render 1.

share

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.