title: How to display selected contact using pickContact() - ionic-v3
body: <p>i want display selected contact detail in input, in alert showing contact details. so i want display that contact detail in my form. any idea how to do…please help!</p>
  
  <p>home.ts</p>
  
  <pre><code>import { Contact, ContactField, ContactName, Contacts } from '@ionic-native/contacts';
  : 
  constructor(public navCtrl: NavController, public navParams: NavParams, private contacts: Contacts) {
      this.contacts.pickContact().then((contact)=&gt;{
          alert("contacts:--&gt;"+ JSON.stringify(contact));
      });
  }
  </code></pre>
  
  <p>home.html</p>
  
  <pre><code>&lt;ion-content padding&gt;
      &lt;form (ngSubmit)="saveItem()" ng-controller="AppCtrl"&gt;
          &lt;ion-item&gt;
              &lt;ion-label&gt;Name&lt;/ion-label&gt;
              &lt;ion-input type="text" [(ngModel)]="contact.displayName" name="displayName"&gt;&lt;/ion-input&gt;
          &lt;/ion-item&gt;
          &lt;ion-item&gt;
              &lt;ion-label&gt;Phone&lt;/ion-label&gt;
              &lt;ion-input type="tel" [(ngModel)]="contact.phoneNumbers" name="phoneNumbers"&gt;&lt;/ion-input&gt;
          &lt;/ion-item&gt;
          &lt;ion-item&gt;
              &lt;ion-label&gt;Birth&lt;/ion-label&gt;
              &lt;ion-datetime displayFormat="DD/MM/YYYY" [(ngModel)]="contact.birthday" name="birthday"&gt;&lt;/ion-datetime&gt;
          &lt;/ion-item&gt;
  &lt;/form&gt;
  &lt;/ion-content&gt;
  </code></pre>