>From app a u have access to (the scope of element in) app b by doing this:

angular.element(DOMSelector).scope();

Now you have a reference to hte scope of appb and can call any method, 
access keys etc.

DOMSelector is the JQuery selector for the element in the application u 
want to access.
Remember that JQLite only allows for element selectors. To use classes or 
id's in selectors include the JQuery lib

Thanks to 
Misko<http://stackoverflow.com/questions/10490570/call-angular-js-from-legacy-code>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to