すべての angular テンプレートでルート html ノードを定義する必要があり、その中でディレクティブの Html を定義できます。
そのルートノードを無視する角度の方法はありますか? 例 :
私のディレクティブテンプレート:
<div class="space consuming div, and absolute positioning breaker">
<div class="content positioned relative to the directives parent 1"></div>
<div class="content positioned relative to the directives parent 2"></div>
<div class="content positioned relative to the directives parent 3"></div>
</div>
テンプレートを
<div class="content positioned relative to the directives parent 1"></div>
<div class="content positioned relative to the directives parent 2"></div>
<div class="content positioned relative to the directives parent 3"></div>
ありがとう!