- Move the request part to the service - Switch to @angular/common/http because @angular/http is deprecated