title: Communicating with iframe on same origin
body: <p>In my application(angular 6) it is required to communicate with <code>iframe</code> on same origin, is there any better way to communicate with <code>iframe</code> on same-origin other than using global <code>window</code> object. If some sort of wrapper or through by RxJS.</p>
  
  <p>P.S. : I have also checked the storage example, I want to know your opinions  if can achieve same in better way without polluting window object.</p>
  
  <p>Thanks</p>