I am extending BaseRequestOptions in Angular2 to add headers for each request. I also have a Config class that supplies key/value pairs based on the do
This is actually much easier than peeskillet's answer. When defining your provider also specify the dependencies for that provider so it would look like: