Navigating to Ionic Views with tabs from side menu


#1

Hi folks

i am trying to build an app using Ionic. just get my feet wet.

i am trying to build a news reader app. i have a side menu with options like Featured, News, Business etc. Featured is a stand alone page which will list news item. Now News is supposed to contain 3 tabs (top) in it - National, Political and Crime. Similar i have Business which will contain 4 tabs - Business, India, FInance & Markets.

here is a plunker i have created http://plnkr.co/edit/VWu38OqSTlt82x1V8jX4

Problem i am facing is as follows:

  • when the app loads, if i navigate to news - i get the news page with 3 tabs and first tab selected. Now when i click on Business - it never navigates to business and it just stays on News page. But i can navigate to Featured
  • when the app loads, if i navigate to business - i get the business page with 4 tabs and first tab selected. Now when i click on News - it never navigates to news and it just stays on Business page. But i can navigate to Featured

i am not sure whats going wrong … appreciate if anybody can take a look at the code and let me know

thanks.

regards
Lohith