I have this simple app (Node.js, Electron, Angular2, TypeScript) like you can find in any tutorial.
What is the best way to communicate from Angular2 to Electron and back?
Let's say you want to call a system dialog. How would you do that?
These are my main source files: