tal azouri tal azouri - 9 months ago 215
AngularJS Question

angularjs - how to insert an app inside an iframe

I search for a long time and find answers that didn't helped me so far, i want to put an angular app inside iframe.

My index.html upload with flask.

How can i put my app inside iframe?



Don't think about angular application outside of an iframe. Page inside of iframe is just like your "parent" page, it must have it's own angularjs script included and own application bootstrapped.

Live demo