angularjs - ionic framework tabs with ng-repeat not working -


i building android app using ionic framework. facing issue using ionic tabs.

ion-nav-view content not displaying using ng-repeat, same working out using ng-repeat. tab title displaying tab content showing blank.

using ng-repeat

<ion-tabs class="tabs-striped tabs-top tabs-background-positive tabs-color-light">     <ion-tab ng-repeat="infotabs in customerinfo" title="{{infotabs.tabval}}" href="#/customerview/{{infotabs.tabname}}">       <ion-nav-view name="customerview-{{infotabs.tabname}}"></ion-nav-view>     </ion-tab>   </ion-tabs> 

without using ng-repeat

<ion-tabs class="tabs-striped tabs-top tabs-background-positive tabs-color-light">     <ion-tab title="general" href="#/customerview/general">       <ion-nav-view name="customerview-general"></ion-nav-view>     </ion-tab>     <ion-tab title="employment" href="#/customerview/employment">       <ion-nav-view name="customerview-employment"></ion-nav-view>     </ion-tab>     <ion-tab title="relationship" href="#/customerview/relationship">       <ion-nav-view name="customerview-relationship"></ion-nav-view>     </ion-tab>   </ion-tabs> 


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -