I try to use “href”, but no animation transition.
$ionicViewSwitcher.nextDirection('forward');
$state.go("tab.dash");
This way has the animation transition, but is coming from the black.
I wan’t mainpage animation transition to tabs.home
.state('mainpage', {
url: "/mainpage",
templateUrl: "templates/mainpage.html",
controller: "mainCtrl"
})
.state('tabs', {
url: "/tab",
abstract: true,
templateUrl: "templates/tabs.html"
})
.state('tabs.home', {
url: "/home",
views: {
'home-tab': {
templateUrl: "templates/home.html",
controller: 'HomeTabCtrl'
}
}
});
$urlRouterProvider.otherwise("/mainpage");