From 67e1b695756ac082c2a11d02ccabc521f54b07a2 Mon Sep 17 00:00:00 2001 From: biolee Date: Wed, 21 Sep 2016 17:02:50 +0800 Subject: [PATCH] =?UTF-8?q?Angular=202=E8=AF=8D=E6=B1=87=E8=A1=A8=20?= =?UTF-8?q?=E5=8E=9F=E6=96=87=E4=B9=9F=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 每个 Angular 应用程序都有一个应用程序根模块类。按规约这个类的名字为 AppModule ,存放在名为 app.component.ts 的文件。 -> 每个 Angular 应用程序都有一个应用程序根模块类。按规约这个类的名字为 AppModule ,存放在名为 app.module.ts 的文件。 --- public/docs/ts/latest/glossary.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 1cea56a8a3..d9196f50de 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -58,9 +58,9 @@ block includes 帮助我们将一个应用程序组织成拼合的功能模块群。一个Angular模块标识了被应用程序使用的组件、指令和管道等,它同时包含了应用程序需要的外来Angular模块的列表,比如`FormsModule`。 Every Angular application has an application root module class. By convention the class is - called `AppModule` and resides in a file named `app.component.ts`. + called `AppModule` and resides in a file named `app.module.ts`. - 每个Angular应用程序都有一个应用程序根模块类。按规约这个类的名字为`AppModule`,存放在名为`app.component.ts`的文件。 + 每个Angular应用程序都有一个应用程序根模块类。按规约这个类的名字为`AppModule`,存放在名为`app.module.ts`的文件。 For details and examples, see the [Angular Module](!{docsLatest}/guide/ngmodule.html) page.