I’m going off the standard ionic pets sample, and I can’t seem to get page views without creating a tab directive. I don’t want nav tabs on any pages at all, ever. I would like to route /mypage to a template mypage.html, but no matter what I do, it’s blank (unless of course I set up a similar structure to below)
// setup an abstract state for the tabs directive
.state('tab', {
url: "/tab",
abstract: true,
templateUrl: "templates/tabs.html"
})
// the pet tab has its own child nav-view and history
.state('tab.pet-index', {
url: '/pets',
views: {
'pets-tab': {
templateUrl: 'templates/pet-index.html',
controller: 'PetIndexCtrl'
}
}
})