I am attempting to display the values of a specific JSON in the correct order. Here is how my JSON is structured :
{
"A":[{"id":"21","name":"Andrea"},{"id":"22","name":"Apple"}],
"B":[{"id":"21","name":"Baby"},{"id":"22","name":"Bali"}],
"C":[{"id":"21","name":"Candle"},{"id":"22","name":"Canada"}],
}
How can I display these values using ng-repeat :
<div ng-repeat="item in items">
</div>
For example:
A
Andrea
Apple
B
Baby
Bali
C
Candle
Canada