Get BrowserWindow ID from AngularJS controller

I am dealing with multiple electron windows and would like to get the BrowserWindow ID to persist dynamic content after page reloads. How can I get the current window ID without using BrowserWindow.getFocusedWindow()? I would simply like to access the window ID to use during page reloads to identify which content belongs to which window.

i have same question