标签: angular components directive angular-directive angular-components
例如
<my-component1 my-directive="true"> //dynamically load my-component2 if my-directive is true <my-component2 someProp="someProperties from my-component1"> </my-component1>
我一直在寻找各处,但似乎无法找到明确的方法来做到这一点......