Good morning all as indicated in the title
I want to declare a link as string then use it in the template and here is my code
.ts
array=["<a href=\"https://example1.com\">Website1</a>","<a href=\"https://example2.com\">Website2</a>"]
.html
<table>
<tbody>
<tr>
<td *ngFor="let item of array" >{{item}}</td>
</tr>
</tbody>
</table>