Electron store OAuthToken to use in Angular
<p>I am developing an Angular App that runs with Electron. Inside Electron I am using OAuth based on this Tutorial <a href="http://manos.im/blog/electron-oauth-with-github/" rel="nofollow">http://manos.im/blog/electron-oauth-with-github/</a>. </p>

<p>Everything works fine and I receive the access_token inside the main.js from Electron. To call my endpoint I need this token inside my Angular Service. How do I pass this token to Angular?</p>

<p><em>My Angular App is Bundled with Wepack and then included in Electron.</em></p>