I have data fetched from json and displayed in a table. Im trying to display a header but when i use it displays the data vertically and i want to display it horizontal
Here's my code
<table>
<tr ng-repeat="ninja in ninjass">
<th>
{{ ninja.name }}
</th>
<td>
{{ ninja.name }}
</td>
<td>
{{ ninja.rate }}
</td>
<td>
{{ ninja.rate }}
</td>
<td>
{{ ninja.rate }}
</td>
</tr>
</table>