Angular2 JSON API adapter with HttpClient

I’m using latest version of angular, if you use interceptor you’ll use HttpClient too. This adapter lets you use it with HttpClient.

If your project doesn’t use HttpClient in any form you wont need it.

I’m forking the project https://github.com/ghidoz/angular2-jsonapi, I’ll check if the best is to create a new adater after this change if I receive request to extend it or change it in the future.

You can foud the repo here:

https://github.com/agustinvinao/angular2-jsonapi/tree/http-client