From 6cd3a54c5a7e3e9a08f6d3f835960477a6e83ade Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Thu, 12 Oct 2017 09:52:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BA=A0=E6=AD=A3=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/upgrade.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/content/guide/upgrade.md b/aio/content/guide/upgrade.md index d86e71a9df..d14046bc52 100644 --- a/aio/content/guide/upgrade.md +++ b/aio/content/guide/upgrade.md @@ -443,7 +443,6 @@ everything work seamlessly: When you register a downgraded service, you must explicitly specify a *string token* that you want to use in AngularJS. - 通过降级它们,我们也能让那些在Angular中能被注入的服务在AngularJS的代码中可用。 只有那些来自Angular根注入器的服务才能被降级。同样的,在框架之间共享的是同一个单例对象。 当我们注册一个要降级的服务时,要明确指定一个打算在AngularJS中使用的*字符串令牌*。 @@ -501,7 +500,6 @@ ways: bridges the related concepts of AngularJS transclusion and Angular content projection together. - 通过透传(transclude)或投影(project)来自另一个框架的内容。`UpgradeModule`牵线搭桥,把AngularJS的透传概念和Angular的内容投影概念关联起来。
@@ -1727,6 +1725,7 @@ AngularJS期望控制器是一个构造函数。这实际上就是ES2015/TypeScr 这也就意味着只要我们把一个类注册为组件控制器,AngularJS就会愉快的使用它。 Here's what the new class for the phone list component controller looks like: + 新的“电话列表(phone list)”组件控制器类是这样的: