title: iframe and cordova/ionic back button
body: <p>i am using iframe to load up a webpage inside one of my view for ionic.</p>
  
  <pre><code>&lt;iframe name="siteFrame" id="siteFrame" src="www.example.com" style="width:100%; height:100%" height="100%" &gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>what happens is that when the backbutton is pressed instead of going back to the previous page in the iframe the app exists. </p>
  
  <p>i cannot detect the current href of the iframe as the cross domain security issues prevents me.</p>
  
  <p>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</p>
  
  <p>How can this be done?</p>