angular-cn/aio/tools/transforms/templates/api/includes/ngmodule.html

12 lines
361 B
HTML

{% if doc.ngModules.length == 1 %}<h2>NgModule</h2>{% else %}<h2>NgModules</h2>{% endif %}
<ul class="ngmodule-list">
{% for ngModule in doc.ngModules %}
<li>
<a href="{$ ngModule.path $}">
<code-example language="ts" hideCopy="true" linenums="false" class="no-box">{$ ngModule.name | escape $}</code-example>
</a>
</li>
{% endfor %}
</ul>