Changing Iframe ng-src attribute not working when second URL assigned

Hi,

I’m building an app that dynamically loads URLs in an Iframe via variable that is defined in a controller. The Iframe goes like this:

<iframe ng-src="{{itemDetailUrl}}"></iframe>

It works fine for the first URL but when I click on other items it doesn’t show anything,
then again when I click on first link it shows it fine without reloading the URL again.

I don’t know if this is related to ionic, or something else.

Please if you have any experience in this issue help me work it out.

Thank you guys :smile:

Well that was completely my fault, there was a javascript error in the app that I did’t noticed.

sorry, :stuck_out_tongue_winking_eye:

1 Like