How to use DeviceBackButton on angluarJS?
-
I tried to display the notification using native backbutton. I have tried using the method shown below, but it doesn’t work properly, while for the cordova plugin was successful.
Then I looked for ways on the onsen website, I found this https://onsen.io/v2/api/angular1/ons.html#method-setDefaultDeviceBackButtonListener
But I still don’t know how to use it. So guys, please help me
thank you