title: How to get the current URL (not the src) of an iframe?
body: <p>I have the following iframe in my code.</p>
  
  <pre><code>&lt;iframe src="http://www.w3schools.com" id="myframe" name="myframe" height="100%" width="100%"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>I need to get the new URL of the page which is displayed after some navigations within the iframe.</p>
  
  <p>I tried several methods but none of them delivered what I wanted. Some methods returned the same URL given as src. Others resulted in security issues.</p>
  
  <p>How can I get this done using AngularJS?</p>
  
  <p>(Asking for a friend)</p>