From 58ceaffca37ef06d1affd3dd663f875809722c3d Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 15 Jan 2016 10:46:14 -0800 Subject: [PATCH] Fix misspelling closes #705 ugprade -> upgrade --- public/docs/ts/latest/guide/upgrade.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/upgrade.jade b/public/docs/ts/latest/guide/upgrade.jade index 95c0759d9b..28318ae92a 100644 --- a/public/docs/ts/latest/guide/upgrade.jade +++ b/public/docs/ts/latest/guide/upgrade.jade @@ -671,7 +671,7 @@ figure +makeExample('upgrade/ts/adapter/app/js/1-to-2-providers/heroes.service.ts', null, 'heroes.service.ts') :marked - We can ugprade the service using the `UpgradeAdapter`'s `upgradeNg1Provider` method + We can upgrade the service using the `UpgradeAdapter`'s `upgradeNg1Provider` method by giving it the name of the service. This adds the service into Angular 2's root injector. +makeExample('upgrade/ts/adapter/app/js/1-to-2-providers/app.module.ts', 'register', 'app.module.ts')