I have dynamic HTML in Angular2 app using Angular2-Component-Outlet and it works. But now when I am trying to create AOT, I still need to load the RuntimeCompiler for Angular2-Component-Outlet.
Is there any way to also AOT compile the dynamic HTML and load the module using lazy loading.
An old Plunker showing usage of Angular2-Component-Outlet to put dynamic content. This is similar to AngularJS ng-include directive.
I could do AOT of complete project by adapting Dynamic Form approach as designed in the Angular2 documentation.