I have an angular application that is hitting a node API. Our backend developer has implemented basic auth on the API, and I need to send an auth header in my request.
Try base64 encoding your user:password before you append it to "Basic", as in:
headers: { 'Authorization': "Basic " + auth64EncodedUserColonPass }