I really dont undestand how back button works in ionic
here is one example
In above example navbar back button works as expected but same example when modified a bit back button disapperars can any one help me with this , here is modified example
What i changed
<a class="item" menu-close href="#/tab/facts2">More Facts</a>
to
<a class="item" menu-close href="#/facts2">More Facts</a>
in javascript
.state('tabs.facts2', {
url: "/facts2",
views: {
'home-tab': {
templateUrl: "facts2.html"
}
}
})
to
.state('facts2', {
url: "/facts2",
templateUrl: "facts2.html"
})
Before making these changes when i navigate from Home >> Facts >> More Facts there appears a back button but in modified there is no back button for More Facts .