How to implement ng-repeat on ion-tab?


#1

Hi:

I am trying to make tabs that all share the same content with minor differences.
I made an array in the $scope witch is tabsArray = [ {…}, {…}, {…}], and in the template there is a line:
ion-tab ng-repeat="tab in tabsArray ".

The browser gives me this:
Error: Failed to execute ‘appendChild’ on ‘Node’: This node type does not support this method.
at Error (native)
at ionic.views.Scroll.ionic.views.View.inherit.__createScrollbars (http://localhost:8100/lib/ionic/js/ionic.bundle.js:5429:26)
at ionic.views.Scroll.ionic.views.View.inherit.initialize (http://localhost:8100/lib/ionic/js/ionic.bundle.js:4828:10)
at ionic.views.View (http://localhost:8100/lib/ionic/js/ionic.bundle.js:4369:21)
at new ionic.Utils.inherit.child (http://localhost:8100/lib/ionic/js/ionic.bundle.js:3351:44)
at new (http://localhost:8100/lib/ionic/js/ionic.bundle.js:48849:36)
at invoke (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12884:17)
at Object.instantiate (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12892:27)
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:17161:28
at prelink (http://localhost:8100/lib/ionic/js/ionic.bundle.js:51410:24)

What to do?