i am using iframe to load up a webpage inside one of my view for ionic.
<iframe name="siteFrame" id="siteFrame" src="www.example.com" style="width:100%; height:100%" height="100%" ></iframe>
what happens is that when the backbutton is pressed instead of going back to the previous page in the iframe the app exists.
i cannot detect the current href of the iframe as the cross domain security issues prevents me.
what i want to do is that the phones back button should work on the iframe but when the iframe is at it's home page the backbutton should work for the views then
How can this be done?