Skip to content

Not working when tabs are dinamically created #44

@FrancescoMussi

Description

@FrancescoMussi

Pleaseeeeeeeeeee help!!

The dummy data test of the plugin is working perfectly.
But when i generate the tabs dinamically using ng-repeat it doesn't work.

This is a simple example of taking the data from an object:

$rootScope.data_test = {};
$rootScope.data_test.days = ['Day 1','Day 2'];
<tab-slide-box>
     <div class="tsb-icons">
         <div class="tsb-ic-wrp">
            <a href="javascript:;" class="ion-home" ng-repeat="day in data_test.days track by $index"></a>
        {{ day }}
          </div>
     </div>
     <ion-slide-box show-pager="false" on-slide-changed="slideHasChanged($index)">
             <ion-slide>
                   <h1>Day 1 content</h1>
             </ion-slide>
              <ion-slide>
                    <h1>Day 2 content</h1>
              </ion-slide>
      </ion-slide-box>
</tab-slide-box>

What can i do?
There is something i am missing?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions