UNPKG

ionic-framework

Version:

An advanced HTML5 mobile app framework built on Angular2

6 lines (5 loc) 171 B
<ion-tabs> <% _.forEach(tabs, function(tab, i) { %> <ion-tab [root]="tab<%= ++i %>Root" tabTitle="<%= tab.name %>" tabIcon="star"></ion-tab> <% }); %> </ion-tabs>