title: Get value from ng for generated inputs
body: <p>I'm doing an app with Ionic framework, so far I have inputs generated by *ngFor and I want to get the value of each input after clicking on a button. I've tried with Reactive forms but was not able to make it work.</p>
  
  <pre><code>&lt;ion-list&gt;
    &lt;ion-item *ngFor="let item of players; index as i"&gt;
      &lt;ion-chip&gt;
       &lt;ion-input placeholder="Nombre jugador {{i+1}}"  type="text"&gt;&lt;/ion-input&gt;
       &lt;ion-icon name="person-add"&gt;&lt;/ion-icon&gt;
     &lt;/ion-chip&gt;
   &lt;/ion-item&gt;
  &lt;br /&gt;
  &lt;/ion-list&gt;
  </code></pre>
  
  <p>and my .ts file.</p>
  
  <pre><code> ngOnInit() {
    this.getJugadores();
   }
  
  getJugadores(){
    this.storage.get("num_players").then(x =&gt;{
      if (x){
        this.players = new Array(x);
      }else{
        console.log("error");
      }
    });
  }
  </code></pre>
  
  <p>I want to store each value in an array of objects.</p>