title: How to trigger event in separate app - AngularJS
body: <p>I have a couple of AngularJS apps, each opening in a different window. The first app is in an iframe and the second is on our main server, i.e. for clarity.</p>
  
  <p>In the iframe app, for certain features, the user has to login.  In that situation, a signin button appears which when clicked opens a new browser window and points https:// to our main site's app.  Once they signin, the signin page closes properly and the session is maintained. </p>
  
  <p>How do I trigger an event in the iframe app to listen for this?  I do have common/shared services, but have been unsuccessful at my attempts to wire this event up.</p>
  
  <p>Update:</p>
  
  <p>Although I have shared services between the apps, the are bound to the associated app's $rootScope.  There is no binding between the apps.</p>
  
  <p>Given this, is there a way in either AngularJS, Underscore, or jQuery/JS to capture an event in a separate browser window from another browser window?</p>