I have project developed in Angular 4 application - it has multiple component and project is too big to be converted into Angular 8 in one go therefore it needs to be converted in phases. That is why looking for solution if some component can be changed to Angular 8 library (which is client requirement as well) which can be consumed in Angular 4 application.

since routing of some core functionality has been changed so when i import Angular 8 library in angular 4 application it may look for @angular/common/http which does not exist in Angular 4. If i add node\_modules folder inside library then typescript conversion issues occurs as both Angular version is using different Angular cli and typescript version - please correct if i am wrong ...

Able to successfully use Angular 8 library in Angular 4 application