Good day, Im been working on my project for a long time, and I noticed something not working. This is my config.
.state('login', {
url: '/login',
templateUrl: 'templates/auth/login.html',
controller: 'AuthCtrl as auth'
})
.state('signup', {
url: '/signup',
templateUrl: 'templates/auth/signup.html',
controller: 'AuthCtrl as auth'
})
and I have this button on my login.html
<button class="button button-block button-balanced button-small" ng-click="auth.goToSignUp()">Signup</button>
which navigates to the signup page. The problem is that, when im on my signup.html, pressing the ion-nav-back-button does not go back to the login page. I tried searching for some solutions but so far none of which solved my problem. Your help is greatly appreciated