title: Angular 5 with Cordova (Phonegap)
body: <p>Setup: Create new angular project with <code>ng new mobile</code> and create build of that by <code>ng build</code>. Then create empty cordova project by <code>phonegap create mobile</code> and move the content of dist folder from angular into www folder of phonegap project, with add into index.html <code>&lt;script src="cordova.js"&gt;&lt;/script&gt;</code><br>
  Issue: When I open the browser version of that app, everything works as it should, but when I open that application inside the phonegap app to test it, nothing shown. File <code>index.html</code> is opening normally but <code>&lt;app-root&gt;&lt;/app-root&gt;</code> is not filling with the page.<br>
  Logs on start app: </p>
  
  <blockquote>
    <p>[phonegap] starting app server...<br>
    [phonegap] listening on 192.168.0.102:8080<br>
    [phonegap]<br>
    [phonegap] ctrl-c to stop the server<br>
    [phonegap]<br></p>
  </blockquote>
  
  <p>Logs on open page in browser: </p>
  
  <blockquote>
    <p>[phonegap] 200 /<br>
    [phonegap] 200 /cordova.js<br>
    [phonegap] 304 /socket.io/socket.io.js<br>
    [phonegap] 200 /styles.bundle.js<br>
    [phonegap] 200 /inline.bundle.js<br>
    [phonegap] 200 /main.bundle.js<br>
    [phonegap] 200 /polyfills.bundle.js<br>
    [phonegap] 200 /vendor.bundle.js<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b8xS3<br>
    [phonegap] 200 /cordova_plugins.js<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b8xSy&amp;sid=20QHVka_YOvFssMwAAAA<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b8xTY&amp;sid=20QHVka_YOvFssMwAAAA<br></p>
  </blockquote>
  
  <p>Logs on open page in phonegap app: </p>
  
  <blockquote>
    <p>[phonegap] [console.warn] Content Security Policy has been modified to be: https://ssl.gstatic.com > 'unsafe-eval' * ws:;style-src 'self' 'unsafe-inline' data: blob:;media-src *;img-src 'self' data: content: *;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;"><br>
    [phonegap] 200 /<strong>api</strong>/appzip<br>
    [phonegap] 200 /socket.io/socket.io.js<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b98u4<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b98uZ&amp;sid=ObEnma7oyhhUimWDAAAB<br>
    [phonegap] 200 /socket.io/?EIO=3&amp;transport=polling&amp;t=M8b98un&amp;sid=ObEnma7oyhhUimWDAAAB<br></p>
  </blockquote>