How to setup the basic angularJs+ionic framework


#1

Hi, all !
I am so excited to see this framework. It’s amazing and fantastic.
However, as I am newbie to angularjs and the ionic. I have a basic prolem for the tutorial:
http://ionicframework.com/docs/angularjs/controllers/nav-router/
how do I share the tab items between different templates. e.g. There are nav tabs in client_branch_list.html, but I want to change the content without change the nav tabs. How should I do ? any suggestion?

$routeProvider.when('/', {
        controller: BranchListCtrl,
        templateUrl: '/client/client_branch_list.html'})
    .when('/branch/:branch_id/', {
      controller: BranchCtrl,
      templateUrl: '/client/client_branch.html'
    })
    .otherwise({redirectTo:'/'});

#2

Hey @wanxsb, this is something we are working on right now. Sorry for the delay in getting back to you! Stay tuned :slight_smile: