I am working on an ionic framework based mobile application. My project is a side menu based application. On clicking the item in the side menu, I need to load an external website inside ion-content and hide side menu of the loaded website but I can’t figure it out how to do it.
I tried ngCordova InAppBrowser, but it loads website in a separate full screen.
I also tried iFrame, but I couldn’t load the website inside ion-content. Getting following msg “refused to display url in a frame because it set ‘x-frame-options’ to ‘sameorigin’”. To avoid clickjacking, the x-frame-options in website is set to sameorigin.