Integrating iframes with AngularJS

13,798 views
Skip to first unread message

John Seaman

unread,
Jan 10, 2013, 3:31:07 PM1/10/13
to ang...@googlegroups.com
Hello,

I am implementing AngularJS on on top of the .NET framework and have several functions that require postbacks.  I have created a separate application page for each function and plan on using iframe modals to host these pages.

What I want to do is return data from the iframe to the current controller (e.g the name of the file that was just uploaded).


This is what I have come up with so far.  I don't like this method because it requires me to have a global function.  Has anyone else done something similar?

Thanks,
John

LarryK

unread,
May 26, 2013, 4:10:44 AM5/26/13
to ang...@googlegroups.com
Hi John,

I'm starting to investigate the same issue of integrating an iframe-oriented outside service with an Angular app.

Have you done any further work on this? Any tips (or code) to share?

Thanks,
Larry

John Seaman

unread,
May 28, 2013, 11:19:37 AM5/28/13
to ang...@googlegroups.com
Larry,

I expanded upon what I had in the original post a bit by adding a service to facilitate communication between the calling scope and the iframe directive.

Message has been deleted

Ryan Stellar

unread,
Nov 22, 2013, 6:47:19 PM11/22/13
to ang...@googlegroups.com

Shawn Shaw

unread,
Oct 8, 2014, 11:46:47 AM10/8/14
to ang...@googlegroups.com
Plunker of Iframe use with Google Maps
Reply all
Reply to author
Forward
0 new messages