4

I'm trying to run an AngularJS Application in an iFrame in IE8. I get a blank page.
Observed Behavior:
1. Works fine in normal browser window of IE8.
2. Works fine in iFrame of Chrome and FireFox.
3. Works fine if I right click and refresh the iFrame.
4. HTML is fully loaded (Checked in view source). The AngularJS controller is not triggered. None of the alerts and console.logs are displayed.
5. No JS errors are thrown

How do I enable trigger of AngularJS controller, can I manually trigger it on window.onload ? Any insights and suggestions would help. Unfortunately I have to run the application inside an iframe in IE8 ? Upgrading the browser or choosing different browser is not an option.
Thanks!
SKR

SKR
  • 779
  • 4
  • 17
  • 31

1 Answers1

1

Finally arrived at a solution. As I had mentioned in the issue description, the page works fine on refresh. So the solution is to refresh the page on load.
I used the One time page refresh solution mentioned for the problem, in particular solution given by Cokegod.
There is no perceptible difference in loading time. The best part is it works in IE8!

Community
  • 1
  • 1
SKR
  • 779
  • 4
  • 17
  • 31