@@ -389,7 +389,7 @@ figure.image-display
389
389
### Using UpgradeModule with Angular 2 _NgModules_
390
390
391
391
Both Angular 1 and Angular 2 have their own concept of modules
392
- to help organize an application into cohesive blocks of funcionality .
392
+ to help organize an application into cohesive blocks of functionality .
393
393
394
394
Their details are quite different in architecture and implementation.
395
395
In Angular 1, you add Angular assets to the `angular.module` property.
@@ -585,7 +585,7 @@ figure
585
585
586
586
.alert.is-helpful
587
587
:marked
588
- Upgraded componentes are Angular 2 **directives**, instead of **components**, because Angular 2
588
+ Upgraded components are Angular 2 **directives**, instead of **components**, because Angular 2
589
589
is unaware that Angular 1 will create elements under it. As far as Angular 2 knows, the upgraded
590
590
component is just a directive - a tag - and Angular 2 doesn't have to concern itself with
591
591
it's children.
@@ -1099,7 +1099,7 @@ code-example(format="").
1099
1099
attached to the `<html>` element of the host page. This will no longer work with
1100
1100
Angular 2. We should switch to a JavaScript-driven bootstrap instead.
1101
1101
1102
- So, remove the `ng-app` attribute from `index.html`, and instead boostrap via `app/main.ts`.
1102
+ So, remove the `ng-app` attribute from `index.html`, and instead bootstrap via `app/main.ts`.
1103
1103
This file has been configured as the application entrypoint in `systemjs.config.js`,
1104
1104
so it is already being loaded by the browser.
1105
1105
@@ -1312,7 +1312,7 @@ code-example(format="").
1312
1312
to make `$routeParams` an Angular 2 provider.
1313
1313
Do that in `app.module.ts`:
1314
1314
1315
- + makeExample('upgrade-phonecat-2-hybrid/ts/app/app.module.ts' , 'routeparams' , 'app/app.module.ts ($routeParms )' )( format ='.' )
1315
+ + makeExample('upgrade-phonecat-2-hybrid/ts/app/app.module.ts' , 'routeparams' , 'app/app.module.ts ($routeParams )' )( format ='.' )
1316
1316
1317
1317
:marked
1318
1318
Convert the phone detail component template into Angular 2 syntax as follows:
@@ -1523,7 +1523,7 @@ code-example(format="").
1523
1523
we don't change how the application behaves from the user's point of view.
1524
1524
1525
1525
During TypeScript conversion, there is nothing we have to do to keep E2E tests
1526
- working. It is only when we change our bootstrap to that of an Hybrid app that we need to
1526
+ working. It is only when we change our bootstrap to that of a Hybrid app that we need to
1527
1527
make some changes.
1528
1528
1529
1529
The following change is needed in `protractor-conf.js` to sync with hybrid apps:
0 commit comments