title: Dynamic ion-tabs in ionic 2 using ngFor
body: <p>I am using ionic 2 for my application, i want to get dynamic tabs in my application, i am not able to get that</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;ion-tabs #mainTabs [selectedIndex]="mySelectedIndex"&gt;
    &lt;ion-tab *ngFor="let circle of circles" [tabRoot]="gotoMemberListPage(circle)" title="{{circle.name}}"&gt;&lt;/ion-tab&gt;\
  &lt;/ion-tabs&gt;
  </code></pre>
  
  <p><strong>Typescript</strong></p>
  
  <pre><code>gotoMemberListPage(circle) {
   this.navCtrl.push(MemberListPage, circle);
  }
  </code></pre>