I am trying to implement nested translations in Angular (the content of the link has a translation, and this link must be embedded in another translation), and it all comes down to me in the following scenario:
<ng-template #link>
<a href="#">Test</a>
</ng-template>
<p>Your link: {{link}}</p>
However, in the above case, it linkis a TemplateRef object. So my question is: how to replace the contents of braces with the contents of TemplateRef?
Thank you in advance!
source
share