I have a dictionary where the value is itself an object. I want to show the entries in a table using ng-repeat
.
Here is the dictionary:
{
'adam': {
c1: "a",
c2: "b"
},
'amalie': {
c1: "c",
c2: "d"
}
};
I have visited this question but it talks about simple key-value pairs.
Here is a jsfiddle.
I want it to be shown as:
NAME c1 c2
adam a b
amalie c d