Fix misspelling

closes #705

ugprade -> upgrade
This commit is contained in:
Nathan 2016-01-15 10:46:14 -08:00 committed by Ward Bell
parent 2b2ec380b7
commit 58ceaffca3
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ figure
+makeExample('upgrade/ts/adapter/app/js/1-to-2-providers/heroes.service.ts', null, 'heroes.service.ts') +makeExample('upgrade/ts/adapter/app/js/1-to-2-providers/heroes.service.ts', null, 'heroes.service.ts')
:marked :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. 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') +makeExample('upgrade/ts/adapter/app/js/1-to-2-providers/app.module.ts', 'register', 'app.module.ts')