I know that in ng2 we have ComponentFactoryResolver that can resolve factories that we can apply to a ViewContainerRef.
But, is there something similar for directives? a way to instantiate them and apply them to the projected content from a component?