title: Angular new window with state management
body: <ul>
  <li>Problem Statement:</li>
  </ul>
  
  <p>I have a requirement: to open a new window in angular 6 and establish two way communication between the primary and secondary window.</p>
  
  <ul>
  <li>What I tried</li>
  </ul>
  
  <p>I created a service WindowRef to open a new window/tab using angular "Window".
  I created an @ngrx/store system to manage state in the app.
  I am able to manage application state for any number of actions in the primary window, however when I open a new window and try accessing the state, it returns null.</p>
  
  <p>If I can maintain state I can try and use ngStore to dispatch actions and try and establish two way communication channel between the primary and secondary opened window.</p>
  
  <p>Can someone please suggest/ point me to a way to implement the above requirement?</p>