Home:ALL Converter>Linking Angular 6 & Angular 4 App

Linking Angular 6 & Angular 4 App

Ask Time:2018-08-22T20:49:46         Author:Gobi

Json Formatter

I have an angular app which is running in angular 6, I also have an another app which is running in angular 4. Now I am having an situation to reuse that angular 4 app inside angular 6. When user click on an menu in angular 6 app that angular 4 app need to be loaded inside an component. Is this possible? I don't want to use Iframe and object tag, is there any options to achieve this?

Author:Gobi,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/51967283/linking-angular-6-angular-4-app
Salman Kazemi :

I offer to you use iframe tag that load your angular 4 app.\n\n\r\n\r\n<iframe src=\"http://angular4apphost/\">\r\n <p>Your browser does not support iframes.</p>\r\n</iframe>",
2019-02-17T09:56:06
yy