This has already been posted on Stack Overflow, but didn't get any traction there, so here goes:
I am writing an AngularJS application that needs to be distributed in two browser windows. *Is it possible to have an application span both windows, i.e. have the same services, dependency injection etc. available in both windows? If not, is it possible to share a service between two different Angular apps?* The reason it should be placed in two separate windows is that we are replacing a desktop application that worked this way, and most user have dual-screen setups for working with this app. So it is not one window and a popup, rather two different views of the same data. Data that is updated in one window should immediately update in the other; my idea is to place common data in services, and have the controllers in the different windows use $watch on data in the service. -- 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/groups/opt_out.
