Angular:ng没有html标记的内容

Angular:ng没有html标记的内容,angular,html-table,projection,ng-content,Angular,Html Table,Projection,Ng Content,我有两个部分: App.component.html <table> <tr> <td>something</td> </tr> </table> 某物 Table.component.html(定义表格) 结果 <tbody _ngcontent-c0> <tr _ngcontent-c0> <td _ngcontent-c0>somethin

我有两个部分:

App.component.html

<table>
  <tr>
    <td>something</td>
  </tr>
</table>

某物
Table.component.html(定义表格)


结果

<tbody _ngcontent-c0>
   <tr _ngcontent-c0>
      <td _ngcontent-c0>something</td>
   </tr>
</tbody>

某物
为什么有tbody标签?有没有办法从ng内容中删除标记? 我只需要在html中显示tr及其子项。预期结果应该更像:

<tr _ngcontent-c0>
   <td _ngcontent-c0>something</td>
</tr>

某物

如果只需要一个没有标签的包装器,可以尝试一下。但是我无法将动态内容传递到table.component。我还需要那本书
<tr _ngcontent-c0>
   <td _ngcontent-c0>something</td>
</tr>