Today I come with a new doubt turns out that I am in ionic and I am creating the routes. I understand that the class abstract is a boolean that allows me to inherit children, that is to say I give birth with a tab and the children would be their selection tab / home, tab / adjustments, etc ...
.state('tab', {
url: '/tab',
abstract: true,
templateUrl: 'templates/tabs.html'
})
.state('tab.home', {
url: '/home',
views: {
'tab-home': {
templateUrl: 'templates/tab-home.html',
controller: 'homeCtrl'
}
}
})
Now I ask how do I have two abtracted classes?
I ask because in the first instance, when opening the app, the home view appears and I want it to inherit two more views home / login and home / registration and when I complete the registration in my app or start session, open the tab view and run normally as it was created.
Greetings.