title: How to add new elements to an array without overwriting the first one?
body: <p>I'm trying to add new elements to an Array but it keeps overwriting it the first element, i'm not sure if i'm doing it correctly, but this is my code:</p>
  
  <pre><code>//name and age contains value from a NgModel 
  this.data = [
      { "name": this.name, "age": this.age },
  ];
  
  //Adds them to a new array 
  this.nArray = [];
  this.nArray.push(this.data);
  </code></pre>