From 4b1fd980939a4403319e7f7b5a5b16c5d405f77b 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 %}