From 01da8cc15ad23f81839b98b1eebc88afc467f2ab Mon Sep 17 00:00:00 2001 From: chenc Date: Sat, 8 Jun 2019 23:00:07 +0800 Subject: [PATCH] my -> app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上文是示例 是appUnless, 这边写成了前缀是 my --- aio/content/guide/structural-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/structural-directives.md b/aio/content/guide/structural-directives.md index 13db90797f..22d720edbe 100644 --- a/aio/content/guide/structural-directives.md +++ b/aio/content/guide/structural-directives.md @@ -808,7 +808,7 @@ In this example, the prefix is `app`. 该指令的*属性名*应该拼写成*小驼峰*形式,并且带有一个前缀。 但是,这个前缀不能用 `ng`,因为它只属于 Angular 本身。 请选择一些简短的,适合你自己或公司的前缀。 -在这个例子中,前缀是 `my`。 +在这个例子中,前缀是 `app`。 The directive _class_ name ends in `Directive` per the [style guide](guide/styleguide#02-03 "Angular Style Guide"). Angular's own directives do not.