Thursday, 27 December 2018

Page environment is blocking angularjs bootstrap

My angularjs application is running in an MS Dynamics 365 environment inside an iFrame on the actual page.

Anyway, it seems like that angularjs is waiting until all JS-operations from Dynamics, even outside the frame (script-loading etc.), have been finished and only then it's going to bootstrap the actual own app.

That causes many performance loading problems. I understand that it could (not sure) be in angulars nature to wait for all scripts cause there could be something relevant for it's execution. But if there are many other not relevant scripts on that page, it causes huge problems.

Is there a way to say "Hey angular! Wait for the scripts "jQuery.js, module1.js" etc." and then you are allowed to bootstrap because thats actually all what you need"?



from Page environment is blocking angularjs bootstrap

No comments:

Post a Comment