{
"products":[
{
"recommendation":{
"currentLevel":79,
"maxLevel":100
},
"items":[
{
"id":"10600",
"title":"Hampton Cookset - 8 Piece",
"category":"STAINLESS STEEL",
"imageUrl": "http://localhost/img/001.jpg",
"unitsInCartons": 10,
"unitCost":4.52,
"packSize":10,
"secondaryCategory":"Chairs"
}
]
},
{
"recommendation":{
"currentLevel":79,
"maxLevel":100
},
"items":[
{
"id":"10870",
"title":"MELAMINE BOWL",
"category":"BOWLS",
"imageUrl":"http://localhost/img/001.jpg",
"unitsInCartons":6,
"unitCost":0.93,
"packSize":5,
"secondaryCategory":"Kids Home"
},
{
"id":"10820",
"title":"PP YUM YUM CUP",
"category":"CUPS/MUGS",
"imageUrl":"http://localhost/img/002.jpg",
"unitsInCartons":12,
"unitCost":0.7,
"packSize":25,
"secondaryCategory":"Kids Home"
}
]
}
]
}
I am trying to iterate through the above JSON code and my objective is to display all the title, category, unitsInCarton, unitCost and packSize values in the view in the form of a table in Angular JS.
I am new to Angular and would love some help with pointers regarding how exactly to iterate to achieve my task.