title: Loop through JSON in ionic
body: <p>Is there a way to loop through a JSON like below in ionic 3</p>
  
  <pre><code>[
   {
     "date": "28/09/2017 08:03",
     "data": {
       "1": 10,
       "2": 0
     }
  },
  {
     "date": "28/09/2017 08:04",
     "data": {
      "1": 0,
      "2": 5
     }
  }
  ]
  </code></pre>
  
  <p>I have tried to loop through but to no avail. This is the latest i have tried but not working </p>
  
  <pre><code>this.data = returnedJson;
  
    for (let reportData of this.data.data) {
          console.log("Our Data : " + reportData);
      }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>  for (let reportData in this.data.data) {
          console.log("Our Data : " + reportData);
      }
  </code></pre>