Saturday, March 18, 2017

Easy way for configuring proxy for your Angular2 CLI applications


Calling backend API from angular2 applications is not easy. If you call the API on another port you will receive cross-reference error. 


Angular CLI has a built-in proxy server that can wrap and redirect your calls to your backend API address. I found this tutorial helpful:

No comments:

Post a Comment