In a component template in angular2, it is possible to add a data-binding variable to an input element:
<input name="title" #title>
Also, we can dynamically set the property value like this:
<input name="{{ name }}" #title>
However, how can we dynamically set these data-binding variables? For example, is it possible to do something like this?
<input name="{{ name }}" #{{ name }}>
Thanks in advance!