I am updating my project's angular version from v2.0.0-beta.6
to v4.1.1
.
Normally, I update from
<input type="text" ngControl="name" .../>
to
<input type="text" #name="ngModel" .../>
It works well in my project until I met this:
<input type="text" required ngControl="{{[param.key]}}" [(ngModel)]="params[param.key]" ... />
How can I set the attribute name variable? Thanks!