diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index c7e553b9dc..6c68179866 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -242,7 +242,7 @@ such as a template input variable, 表达式的上下文可以包括组件之外的对象。 - 比如[模板输入变量](built-in-directives#template-input-variables) (`let customer`)和[模板引用变量](guide/template-ref-variables)(`#customerInput`)就是备选的上下文对象之一。 + 比如[模板输入变量](guide/template-syntax#template-input-variable) (`let customer`)和[模板引用变量](guide/template-syntax#ref-vars)(`#customerInput`)就是备选的上下文对象之一。 diff --git a/aio/tools/transforms/templates/api/lib/memberHelpers.html b/aio/tools/transforms/templates/api/lib/memberHelpers.html index 457987b3fb..e4e744aa72 100644 --- a/aio/tools/transforms/templates/api/lib/memberHelpers.html +++ b/aio/tools/transforms/templates/api/lib/memberHelpers.html @@ -179,6 +179,7 @@ {% set nonInternalMethods = methods | filterByPropertyValue('internal', undefined) %} {% if nonInternalMethods.length %}
+

{$ headingText $}

{% for member in nonInternalMethods %} {$ renderMethodDetail(versionInfo, member, itemClass) $} @@ -192,6 +193,7 @@ {% set nonInternalProperties = properties | filterByPropertyValue('internal', undefined) %} {% if nonInternalProperties.length -%}
+ {$ headingText $} diff --git a/aio/tools/transforms/templates/api/ngmodule.template.html b/aio/tools/transforms/templates/api/ngmodule.template.html index 7cdc83c8db..8137109bc5 100644 --- a/aio/tools/transforms/templates/api/ngmodule.template.html +++ b/aio/tools/transforms/templates/api/ngmodule.template.html @@ -70,13 +70,16 @@ {$ memberHelpers.renderMethodDetails(versionInfo, doc.methods, 'instance-methods', 'instance-method', '方法') $} {% if doc.ngmoduleOptions.providers %} + {$ renderTable(doc.ngmoduleOptions.providers, 'providers', '提供商', '提供商') $} {% endif %} {% if doc.directives.length %} + {$ renderExports(doc.directives, 'directive', '指令') $} {% endif %} {% if doc.pipes.length %} + {$ renderExports(doc.pipes, 'pipe', '管道') $} {% endif %}