I have the following json array string
queryResults=
[
{"name":"cliff","age":"20","hobby":"tennis","email":"[email protected]"},
{"name":"jason","age":"30","hobby":"golf","email":"[email protected]"}
]
I need to use ngFor to produce the following html layout
<table>
<tr>
<td>name:</td><td>cliff</td>
<td>age:</td><td>20</td>
</tr>
<tr>
<td>hobby:</td><td>tennis</td>
<td>email:</td><td>[email protected]</td>
</tr>
</table>
<table>
<tr>
<td>name:</td><td>jason</td>
<td>age:</td><td>30</td>
</tr>
<tr>
<td>hobby:</td><td>golf</td>
<td>email:</td><td>[email protected]</td>
</tr>
</table>
How can i accomplish this? any suggestion will be helpful thank you