JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="app" ng-controller="studentController">
<table>
<tr>
<th>Name</th>
<th>Marks</th>
</tr>
<tr ng-repeat="subject in student.subjects">
<td> {{ subject.name }} </td>
<td> {{ subject.marks }} </td>
</tr>
</table>
</div>
JavaScript
angular.module('app', [])
.controller('studentController', function($scope) {
$scope.student = {
subjects:[
{name:'Physics',marks:70},
{name:'Chemistry',marks:80},
{name:'Math',marks:65},
{name:'English',marks:75},
{name:'Hindi',marks:67}
]
};
});