Clear State / Reset App Environment
In case of login based applications, on logout operation i need to clear ui view states through stateProvider or in other words we need to reset app environment e.g: Remove headers, Footers etc. plus remove the reference of last view state loaded in app. Is there any way to do that?
I have check out AngularUI Router documentation and also tried some of the experiments but it did not work for me.
Can you suggest something for this?
If you would like to completely reload everything, try window.location.reload() (probably bring up a 'loading/splash screen' of some sort before calling location.reload())
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.