loadNextToLocation now expects a ViewContainerRef, any ideas on how to get the root viewContainerRef of the application in a correct way?
thanks in advance.
I haven't tried it with the root component myself yet but I assume it works the same as with other components:
class AppComponent { constructor(private vcRef:ViewContainerRef) {} }