title: Electron IPC within Angular Controller
body: <p>Just after a bit of advise please, is it possible to call ipc module from Angular Controller</p>
  
  <pre><code> var ipc = require('ipc');
   ipc.send('asynchronous-message', 'ping');
  </code></pre>
  
  <p>I have tried with no success to send ipc message.</p>
  
  <p>loaded from index.html creates BrowserWindow
  main.js</p>
  
  <pre><code>ipc.on('asynchronous-message', function(event, arg) {
        console.log(arg);  // prints "ping"
        event.sender.send('asynchronous-reply', 'pong');
      });
  </code></pre>
  
  <p>Have read multiple articles on IPC, can not get it to work.</p>