As we all know there is no ng-init or something for Angular2. So if we try do do something like:
<div #rr="2+2">
{{rr}}
</div>
We will get runtime error:
Error: There is no directive with "exportAs" set to "2+2"
I was watching one of the Angular2 dev videos on youtube and saw exactly the same construction meant to work.
Here is the screenshot:
How is this assignment to user template variable possible?