A
A
Alexey Melekesov2015-07-03 23:17:19
JavaScript
Alexey Melekesov, 2015-07-03 23:17:19

How to synchronize $scope which is in iframe?

I can't figure out how to update $scope between iframe and parent window.
iframe refers to the same domain as parent.
For clarity, I made an example with the code plnkr.co/edit/HpFJNxPVWsi0ijk6spaI?p=preview
PS / I found this option but I can't figure out how to use it
stackoverflow.com/questions/18437594/angularjs-cal...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
enixpp, 2015-07-04
@i198622

Found this but I can't figure out how to use it.

Probably forgot to call the digest.
Here is a working example: plnkr.co/edit/xNGy4yAvDstArE15dMRO?p=preview

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question