Hello
I am logging in to my application through my facebook account. Initially when the app starts it shows only a login button and after you click the button you are asked for permission and once you allow you are directed to the ‘UserPage’. There in UserPage I had put a logout button.
I referred https://ionicthemes.com/tutorials/about/ionic2-facebook-login for designing.
Now I want the logout button to be present in a side menu in the UserPage. But the facebook logout function is present in ‘user.ts’ and if put the menu in ‘app.html’ it is showing error.
How can I have a side menu in my user page with the logout button without shifting the logout function to app.component.ts?
Thank You.