Here is the data structure that I'm working with:
{
"0": {
"keyword": "flower",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "5"
},
"1": {
"keyword": "tree",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "8"
},
"2": {
"keyword": "shrub",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "3"
},
"3": {
"keyword": "grass",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "7"
},
"4": {
"keyword": "bush",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "6"
},
"5": {
"keyword": "plant",
"short_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"pt_value": "9"
}
}
I want to use ng-repeat in the following way:
<div ng-controller="myController">
<div ng-repeat="item in items">
<p>{{ description }}</p>
<p>{{ value }}</p>
</div>
</div>
While I know I can do something basic like ng-repeat="product as products," how do I go about iterating through this complex data structure, repeating it, and positioning the content where I need it?