title: Create new JSON Object List considting of specific Fields from another Object List
body: <p>How do I create a JSON List of only specific object fields (columns(?)) from another JSON list?</p>
  
  <p>I need to create a JSON Object list where the Fields and the values of the new list are taken from another existing list where the existing field is a specific one I want.</p>
  
  <p>For example, a user will select a CSVfile, I extract the data into a JSON List (using papaparse), this CSV can have any number of columns, but I only need 4 of them. These 4 columns will always have the same header name which when I pass the data to JSON becomes the field name. How can I make a new list only with the entire values from fields called e.g. "IdApplication" and "AccountNumber"?</p>
  
  <p>So if I have a JSON from user like:</p>
  
  <pre><code>$scope.TestList = [
     {id: 1, name: 'Bob', age: 23, bio: 'Duck Toaster'},
     {id: 2, name: 'Tom', age: 69, bio: 'Banana Sharks'}
  ];
  </code></pre>
  
  <p>How can I take only the id and age fields and make a new list like:</p>
  
  <pre><code>$scope.NewTestList = [
     {id: 1, age: 23},
     {id: 2, age: 69}
  ];
  </code></pre>
  
  <p>I've looked in to .push() and so for looping through each object and adding to a new list, but that appears to only add a new item to an array ad not a new object to an array. Also ideally not having to loop through tens of thousands of list objects to addto another list would be nice, a way to mass add ideally. </p>