私はThymeleaf thを入れました:angular2のテンプレートでは、th:はコンパイルされません。私はそれらを一緒に使うことができる方法はありますか?私はangular2とThymeleafを一緒に使うことができますか?
import {Component, NgModule} from '@angular/core'
import {BrowserModule} from '@angular/platform-browser'
@Component({
selector: 'my-app',
template: `
<table xmlns:th="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<th>User Name</th>
<th th:each="role : ${roles}">
<div class="row">
<div th:text="${role.type}"></div>
</div>
</th>
</tr>
</tbody>
</table>`,
})
export class App {}