You can use angular-cli proxy to proxy your request to any backend you want. This gives you more flexibility and overcomes SomeOrigin policy problem during your local development.
Angular5
https://angular.io/
Angular5 HttPClient
https://angular.io/guide/http
Angular Proxy Configuration
https://github.com/angular/angular-cl...
Cross origin documentation
https://developer.mozilla.org/en-US/d...