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')