Passing array from page to modal


#1

Hi. Anyone here knows how to pass an array in modal? I watched a lot of tutorials online showing to pass only 1 data at the time to modal. My array is managed to be sent to the modal. However, I am unable to access the array of objects.

myModal = that.modal.create('ModalPage', { title:'ATM' , passingdata: myData });

this.title = this.navParams.get('title');
    this.data = this.navParams.get('passingdata');
      console.log(this.data);

The console log has shown me the following results:

Why is the results hidden within the [ ]? And I cant seem to access the results[0]