I'm attempting to create a tab for each section of a menu.
So I have the following data structure:
[
{ name: 'Wines', contents:[...] },
{ name: 'Ciders', contents: [...] },
{ name: 'Beers', contents:[...] }
]
What I want is some sort of ngFor that would produce a tab for each element in the array above.
I haven't seen anything online for this and can't seem to solve it myself.
Does anyone have any experience with this?