title: Calling node js function from main.ts (electron js and angular js integration)
body: <p>I follow this tutorial how to integrate electron js and angular js.</p>
  
  <p><a href="https://malcoded.com/posts/angular-desktop-electron" rel="nofollow noreferrer">https://malcoded.com/posts/angular-desktop-electron</a></p>
  
  <p>I already run this and it worked well, but now the problem is I want to start to call node js function from angular js and electron js from <code>main.ts</code></p>
  
  <p>Example, when button pressed on angular js side I need to invoke the function on node js file and send back the response.</p>