嵌套的 ng-repeat 不显示正确的值

Nested ng-repeat not displaying the correct value

我正在处理一个场景,我正在使用嵌套的 ng-repeat 在 html table.Attached plunker plnkr 中显示 json 值。co/edit/qC6v8nOP4iFgjlxezTa1?p =preview.I 无法正确查看最后一列的值。

您对 AngularJS 没有问题,但对 HTML,请尝试 this variant:

<table width="100%">
 <thead>
   <tr>
     <th>Id:</th>
     <th>Age:</th>
     <th>Subjects:</th>
     <th>Only Lecturer Name</th>
  </tr>
 </thead>
 <tbody>
   <tr ng-repeat="x in student track by $index">
     <td>{{x.id}}</td>
     <td>{{x.age}}</td>
     <td>{{x.subjects}}</td>
     <td>
       <span ng-repeat="j in x.subjects">
         {{j.Lecturer}}
       </span>
     </td>
   </tr>
 </tbody>
</table>