我知道在ng2中我们ComponentFactoryResolver可以解决我们可以申请的工厂ViewContainerRef.
ComponentFactoryResolver
ViewContainerRef
但是,指令有类似之处吗?一种实例化它们并将它们应用于组件中的投影内容的方法?
projection angular-directive angular2-template angular
angular ×1
angular-directive ×1
angular2-template ×1
projection ×1