I am currently working my back button. And i am wondering how can I convert one one of my back button into a logout button. I need to add a ng-click and have my function to do what I need for my logout so my real question would be :
How can I prevent my new “logout button” to prevent backing out if a cancel button is pressed?
This is my back button at the moment, like I said I still need to add a function for my logout fonction.