title: Form input arrays in angular
body: <p>I am learning Angular.js and i've come to a problem that should probably be simple, but I can't seem to find an answer on.</p>
  
  <p>I want to create form inputs with the value of "connectedTeams", like this in html:</p>
  
  <pre><code>&lt;input type="text" name="connectedTeam[]"&gt; 
  &lt;input type="text" name="connectedTeam[]"&gt; 
  &lt;input type="text" name="connectedTeam[]"&gt; 
  </code></pre>
  
  <p>I have tried the following in angular...</p>
  
  <pre><code>&lt;input type="text" name="connectedTeams[]" class="form-control" ng-model="user.connectedTeams"&gt;
  </code></pre>
  
  <p>...but it is binding the same value to all 3 inputs. I know in my mind that this makes sense, but I can't seem to figure out how to tell it that ng-model is <strong>user.connectedTeams.[]</strong> <strong><em>(user > connectedTeams > add to an array.</em></strong></p>
  
  <p>I hope this makes sense enough for someone to provide a quick answer.</p>