diff --git a/public/docs/ts/latest/guide/attribute-directives.jade b/public/docs/ts/latest/guide/attribute-directives.jade index 52278a041b..437c7c913b 100644 --- a/public/docs/ts/latest/guide/attribute-directives.jade +++ b/public/docs/ts/latest/guide/attribute-directives.jade @@ -19,7 +19,6 @@ block includes * [pass values into the directive using data binding](#bindings) * [使用数据绑定把值传到指令中](#bindings) - Try the . 试试。 ## Directives overview diff --git a/public/docs/ts/latest/guide/server-communication.jade b/public/docs/ts/latest/guide/server-communication.jade index 372a80f5f9..080bebef33 100644 --- a/public/docs/ts/latest/guide/server-communication.jade +++ b/public/docs/ts/latest/guide/server-communication.jade @@ -927,6 +927,8 @@ block wikipedia-jsonp+ The `providers` array in the component metadata specifies the Angular `JSONP_PROVIDERS` collection that supports the `Jsonp` service. We register that collection at the component level to make `Jsonp` injectable in the `WikipediaService`. + 组件元数据中的`providers`数组指定了支持`Jsonp`服务的Angular `JSONP_PROVIDERS`。我们在组件级别注册这个`JSONP_PROVIDERS`,让`Jsonp`可以被注入到`WikipediaService`中。 + The component presents an `` element *search box* to gather search terms from the user. and calls a `search(term)` method after each `keyup` event.