I’m currently fiddling around with Node, Electron and Angular. Now I’m at the point where I want to display child windows using BrowserWindow instead of a Angular module (ui.bootstrap.modal). Using BrowserWindow inside my Angular components is not a problem but I want to add the Application Main Window as parent. Now I’m struggling with getting the Main Window since I haven’t found a way to store it somewhere permanently so I can access it inside my Angular Component.
I already used google and searched this forum but I haven’t found something which fits that topic. Or maybe my approach is just wrong?