title: create list of object with angularjs
body: <p>I have an array of strings, I use this code to add a new item</p>
  
  <pre><code> $scope.list.push(name);
  </code></pre>
  
  <p>But I don't want to add only the name, I want to do something like</p>
  
  <pre><code>$scope.list.push(data); // data contain name and age
  </code></pre>
  
  <p>How can I create data object ? </p>