From 6df45a6d473888b811ee7ed0e17483c751d17e76 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 21 Sep 2018 14:11:49 +0100 Subject: [PATCH] build(docs-infra): pluralize NgModule(s) heading as appropriate (#25768) PR Close #25768 --- aio/tools/transforms/templates/api/includes/ngmodule.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/tools/transforms/templates/api/includes/ngmodule.html b/aio/tools/transforms/templates/api/includes/ngmodule.html index a3421b9bed..e28304ab55 100644 --- a/aio/tools/transforms/templates/api/includes/ngmodule.html +++ b/aio/tools/transforms/templates/api/includes/ngmodule.html @@ -1,4 +1,4 @@ -

NgModules

+{% if doc.ngModules.length == 1 %}

NgModule

{% else %}

NgModules

{% endif %}