Error detail not sent by server AspnetBoilerPlate

enter image description hereenter image description here

In Aspnet Boilerplate, Swagger-UI is running at port no 5000 and the angular require port no 21021. so am facing problems.

I tried Changing port number in angular code but then it was displaying

Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”.

So please help me to solve my issue

Source: AngularJS