In ionic Framework I am using tabs, there are three tabs, when I am switching from one tab to other tab, content data are not updated, only first clicked tab data are being displayed.
please answer me..!
Thanks.
code is:
<ion-nav-view has-header="true" title="{{title}}" cache-view="false">
<ion-tabs nav-clear class="tabs-top e-striped-tabs">
<ion-tab nav-clear ng-repeat="subCategory in product.subcats" title="{{subCategory.cat_name}}">
<ion-view cache-view="false" view-title="{{subCategory.cat_name}}">
<ion-scroll zooming="true" direction="y">
<br>
<br>
<ion-list has-header="true" class="e-product-finder-pd-list">
<ion-item nav-clear class="e-pd-item-c" ng-repeat="subProduct in subCategory.products" ng-href="#/app/subProducts/{{main_cat}}/{{subCategory.cat_name}}">
<div style="margin-bottom: 2%" class="e-pd-title">{{subProduct.post_title}}</div>
<div class="e-pd-img-c" style="margin-top: 1%;">
<img ng-src="{{subProduct.image}}" />
</div>
<div class="e-pd-info" style="position: absolute; margin-top: 1px;">
{{subProduct.post_excerpt}}</div>
</ion-item>
<div class="clearfix" ng-if="addClearFix($index)"></div>
</ion-list>
</ion-scroll>
</ion-view>
</ion-tab>
</ion-tabs>
</ion-nav-view>