Files

19 lines
419 B
HTML
Raw Permalink Normal View History

{%- macro ngModuleList(ngModules, heading) -%}
{%- if ngModules and ngModules.length > 0 %}
<h2>{$ heading $}</h2>
<ul>
{%- for ngModule in ngModules %}
<li>
{%- if ngModule.path %}
<a href="{$ ngModule.path $}">
<code>{$ ngModule.name | escape $}</code>
</a>
{%- else %}
<code>'{$ ngModule | escape $}'</code>
{%- endif %}
</li>
{%- endfor %}
</ul>
{%- endif -%}
{%- endmacro -%}