I have data:
data = {
"laptop": [
"dell",
"hp",
"lenovo",
"acer",
"asus"
],
"mobile": [
"lenovo",
"motorolla",
"apple",
"samsung"
]
}
I am trying to display it in the table using the ngFor for displaying the data in the below format
But I am unable to get the data in the below rather than I am getting only data in the traditional format leaving laptop,mobile keys is there any way to do that in the template
is there any alternative approach or better becoz in future i may get n rows for the table

Object.keys(data). The rest of this is straight forward.