title: How properly bind an array with ngModel in angular 4?
body: <p>Let's suppose I have an array [1,2,3]. I want to iterate all items and bind each to ngModel. When I run this code after changing the first element, the second one is getting the same value. What's the problem?</p>
  
  <pre><code>&lt;div *ngFor="let x of array; let i = index;"&gt;
      &lt;input type="number" [(ngModel)]="x[i]"&gt;
  &lt;/div&gt;
  </code></pre>