Hi all,
I have a json data as shown below, which contains the test results for the 
products that the user has bought
"testResults":[
{"product Name" : "Television","Status":"Pass"},
{"product Name" : "Air Conditioner","Status":"Fail"},
{"product Name" : "Laptop","Status":"Pass"}
]

So in my view(html) I have columns S.no, username, Television,Air 
conditioner, Laptop. Not all the users in the db will have all these three 
products and status. So my question would be, how do I bind these status in 
the corresponding column in the  view? for example the "user1" has only 
product laptop, and I need to bind the Laptop's corresponding status(from 
json) to the corresponding column (Laptop) in my view? 


Thanks,
Varun Krishna. P

-- 
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