Angular 2 provides load event for iframe. So we can detect when new page loaded in iFrame. Normal src attribute of IFrame element gives only initial value. To get latest src URL, we have to use Iframe.contentWindow.location.href

This happens when your iframe domain and parent document aren't on the same origin (Not using the same protocol, port or domain). it's how modern browsers are built to prevent any malicious activity through iframes. The only way to solve it is to get them on the same domain, use postMessage to send messages between the two frames or proxy the iframe.