Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 1f20310

Browse files
dmytroyarmakjuleskremer
authored andcommitted
docs(upgrade): Fix typos in AngularJS versions (1.5 and 1.x) (#3239)
1 parent 32c07c0 commit 1f20310

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

public/docs/ts/latest/guide/upgrade.jade

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ include ../_util-fns
191191
+makeExample('upgrade-module/ts/src/app/hero-detail.directive.ts')
192192

193193
:marked
194-
AngularJS.5 introduces the [component API](https://docs.angularjs.org/api/ng/type/angular.Module)
194+
AngularJS 1.5 introduces the [component API](https://docs.angularjs.org/api/ng/type/angular.Module)
195195
that makes it easier to define directives like these. It is a good idea to use
196196
this API for component directives for several reasons:
197197

@@ -206,7 +206,7 @@ include ../_util-fns
206206

207207
:marked
208208
Controller lifecycle hook methods `$onInit()`, `$onDestroy()`, and `$onChanges()`
209-
are another convenient feature that AngularJS.5 introduces. They all have nearly
209+
are another convenient feature that AngularJS 1.5 introduces. They all have nearly
210210
exact [equivalents in Angular](lifecycle-hooks.html), so organizing component lifecycle
211211
logic around them will ease the eventual Angular upgrade process.
212212

@@ -579,7 +579,7 @@ figure
579579
[described in the preparation guide above](#using-component-directives).
580580
Our safest bet for ensuring compatibility is using the
581581
[component API](https://docs.angularjs.org/api/ng/type/angular.Module)
582-
introduced in AngularJS.5.
582+
introduced in AngularJS 1.5.
583583

584584
A simple example of an upgradable component is one that just has a template
585585
and a controller:
@@ -927,7 +927,7 @@ figure
927927
.file scenarios.js
928928

929929
:marked
930-
This is actually a pretty good starting point. The code uses the AngularJS.5
930+
This is actually a pretty good starting point. The code uses the AngularJS 1.5
931931
component API and the organization follows the
932932
[AngularJS Style Guide](https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md),
933933
which is an important [preparation step](#following-the-angular-style-guide) before
@@ -1040,9 +1040,9 @@ code-example(format="").
10401040

10411041
.l-sub-section
10421042
:marked
1043-
The [AngularJS.x type definitions](https://www.npmjs.com/package/@types/angular)
1043+
The [AngularJS 1.x type definitions](https://www.npmjs.com/package/@types/angular)
10441044
we installed are not officially maintained by the Angular team,
1045-
but are quite comprehensive. It is possible to make an AngularJS.x application
1045+
but are quite comprehensive. It is possible to make an AngularJS 1.x application
10461046
fully type-annotated with the help of these definitions.
10471047

10481048
If this is something we wanted to do, it would be a good idea to enable
@@ -1196,7 +1196,7 @@ code-example(format="").
11961196

11971197
:marked
11981198
The arguments used here are the root element of the application (which is
1199-
the same element we had `ng-app` on earlier), and the AngularJS.x modules
1199+
the same element we had `ng-app` on earlier), and the AngularJS 1.x modules
12001200
that we want to load. Since we're bootstrapping the app through
12011201
an `UpgradeModule`, we're actually now running the app as a **hybrid app**.
12021202

0 commit comments

Comments
 (0)