Join the Stack Overflow Community
Stack Overflow is a community of 6.5 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I saw this example on codepen.io.

So I want to set 3 views per tab (default is ios).

I tried to replace this with old one (with old ion-content):

<script id="templates/ios.html" type="text/ng-template">
    <ion-view view-title="ios">
      <ion-content class="padding">
        tab ios
      </ion-content>
    </ion-view>
</script>
... // and same code for other

and I tried to change js to this:

  $scope.demo = 'ios';
  templateUrl: "templates/ios.html";
  $scope.setPlatform = function(p) {
    ...
    $scope.demo = p;
    templateUrl: "templates/"+P+".html";
  };

But no success to navigate...

share|improve this question
1  
you can use ion-tabs directive ionicframework.com/docs/api/directive/ionTabs – bravokeyl Jan 7 at 11:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.