title: angular 2 ngfor show component in array
body: <p>i have an array of components, i want to show the existing components in that array but it doesnt work, i suspect that a new component is created and showed in the ngfor and not the one in the array because i do see new components get created but with a default value and not the current value that get passed to them, what am i doing wrong?</p>
  
  <p>html:</p>
  
  <pre><code>&lt;div #visualTextDiv class = "visual_text" [ngStyle]=setStyles()&gt;
  
    &lt;div *ngFor="let lineCounter of visualDivArray"&gt;
      &lt;app-visual-text-div&gt;&lt;/app-visual-text-div&gt;
    &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>typescript:</p>
  
  <pre><code>if(this.visualDivArray.length &lt; currentDivIndex+1){
    let newv = new VisualTextDivComponent()
    this.visualDivArray.push(newv);
    console.log("creating new " + this.visualDivArray.length);
  }
  
  this.visualDivArray[currentDivIndex].setData(textValue);
  </code></pre>