Я пытаюсь выполнить итерацию по списку, который я получаю из API-запроса, и вставляю данные в таблицу. Моя проблема в том, что эта таблица находится внутри тега ng-template, и я не знаю, как с этим справиться.
Это мой код:
<ng-template>
<table>
<thead>
<tr>
<th>Reference</th>
<th>Chapter</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let ref of data">
<td>{{ref.title}}</td>
<td>{{ref.chapter}}</td>
</tr>
</tbody>
</table>
</ng-template>
И это моя цель: Popover
ng-template
? - person Sam   schedule 30.04.2021