I have used the below code in order to load dynamically components in my app. As you may know, compileComponentAsync is deprecated in RC6. I want to find a similar solution. Maybe I should use compileModuleAsync. But I couldn't find something. Has anyone an idea?
this.compiler.compileComponentAsync(component)
.then(factory => {
const injector = ReflectiveInjector.fromResolvedProviders([], this.vcRef.parentInjector);
this.vcRef.createComponent(factory, 0, injector, []);
... ...