title: Access to XMLHttpRequest has been blocked by CORS policy in Angular
body: <p>i try to make a get request from Angular running on localhost:4200
  to a spring boot webservice on localhost:8080 ... and i got CORS error.. when i try to make a proxy config as the documentation of Angular 7 suggests 
  <a href="https://angular.io/guide/build#using-corporate-proxy" rel="nofollow noreferrer">https://angular.io/guide/build#using-corporate-proxy</a></p>
  
  <p>proxy.config.json</p>
  
  <pre><code>    {
          "/erp/*": {
              "target": "http://localhost:8080/",
              "secure": false
         }
      }
  </code></pre>
  
  <p>and in package.json</p>
  
  <pre><code>    "start": "ng serve --proxy-config proxy.conf.json",
  </code></pre>
  
  <p>so i still get the same error..</p>