I am trying to add a component property as a template variable to a template string. Something like this:
template: `
<div fxFlexFill>
<div
class="wrapper"
{{ templateVariable }}
(dblclick)="reset()"></div>
</div>
`
and templateVariable is:
templateVariable: string = '#abc'
I am getting a runtime error:
Failed to execute 'setAttribute' on 'Element': '{{' is not a valid attribute name.
Is it even possible what I am trying to do?
Thanks