【发布时间】:2016-03-28 17:50:10
【问题描述】:
我在一个页面上有两个完全不相关的组件。我不想将它们作为子组件加载到父模板下。我如何将它们都加载到一个页面上?
<section>
<h1>Heading</h1>
<the-first-component></the-first-component>
</section>
(lots of html)
<main>
<h1>Another heading</h1>
<the-second-component></the-second-component>
</main>
(lot more html)
【问题讨论】:
标签: angular