Angularjs error:has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

By | March 7, 2019

When i m trying to access nodejs api using angular its throwing this error

Solution: