docs(api): fix typos. remove extra 'the'

This commit is contained in:
Wassim Chegham 2015-11-12 21:28:54 +01:00 committed by Ward Bell
parent ed89c209a9
commit 8cccad42c3
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ figure.image-display
The [template expression](./template-syntax.html#template-expressions) inside the double quotes The [template expression](./template-syntax.html#template-expressions) inside the double quotes
looks much like JavaScript and it is much like JavaScript. looks much like JavaScript and it is much like JavaScript.
When the component's list of heroes has more than 3 items, Angular adds the paragraph to the DOM and the message appears. When the component's list of heroes has more than 3 items, Angular adds the paragraph to the DOM and the message appears.
If there were 3 or fewer items, Angular omits the the paragraph and there is no message. If there were 3 or fewer items, Angular omits the paragraph and there is no message.
.alert.is-helpful .alert.is-helpful
:marked :marked

View File

@ -475,7 +475,7 @@ figure.image-display
+makeExample('forms/ts/src/app/hero-form.component.ts', 'directives') +makeExample('forms/ts/src/app/hero-form.component.ts', 'directives')
<br> <br>
:marked :marked
The `NgForm` directive supplements the the `form` element with additional features. The `NgForm` directive supplements the `form` element with additional features.
It collects `Controls` (elements identified by an `ng-control` directive) It collects `Controls` (elements identified by an `ng-control` directive)
and monitors their properties including their validity. and monitors their properties including their validity.
It has its own `valid` property which is true only if every contained It has its own `valid` property which is true only if every contained