I have this scope variable:
$scope.item = {
"main1": {
"proj1": ["comp1", "comp2"],
"proj2": ["comp3", "comp4", "comp5"]
},
"main2": {
"proj3": ["comp1", "comp2"],
"proj4": ["comp3", "comp4"],
"proj5": ["comp1"]
}
};
And I want the table like this: http://plnkr.co/edit/DWgLUeie3XzNYGx7RxcX?p=preview
I'm able to use the ng-repeat on the first column, but not sure on how to use it for other columns.
ngRepeathere, writing other directive can be simpler.