O'Reilly logo

Ionic Cookbook by Hoc Phan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a tab interface with nested views

This recipe will explain how to work with the Ionic tab interface and expand it for other use cases. For example, it's possible to have additional views (that is, children) within each tab. Since each tab has its own view and state, you can also watch the tab change event. The following is the screenshot of the app:

Creating a tab interface with nested views

In this app, you will learn the following:

  • How to create nested views and states
  • How to create a custom title per view
  • How to watch for state changes and inject your own conditions depending on the new state

You will also use $ionicLoading, which is a very useful directive if you need to temporarily ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required