This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Description
Hello,
First of all, thank you for updating and supporting quickly to use this library for angular4.
I've fully replaced @angular/http with @angular/common/http(HttpClientModule), removed @angular/http from my project.
But In-memory-web-api still requires @angular/http, I took a look inside of in-memory-web-api.d.ts and found import { XHRBackend } from '@angular/http';
Of course you allow users to user either HttpClientModule or Http but users do not want to keep Http in a project (in the future as well, it is already deprecated in angular5.beta.6 https://github.com/angular/angular/blob/master/CHANGELOG.md).
I reckon import { XHRBackend } from '@angular/http'; should only be applied when users use @angular/http only.