Hi Varun,
Are these two windows or views ?
If they are views, what you can do is create the nodes accordingly in component controller and read them in both the view.
For navigating between views you can make use of inbound and outbound plugs.
Regards,
Aakash