docs: remove redundant whitespaces and fix minor typos (#33422)

PR Close #33422
This commit is contained in:
thanhpd 2019-10-26 21:35:03 +07:00 committed by Andrew Kushnir
parent 8b5ca670ad
commit 2f6c97e93c
52 changed files with 129 additions and 140 deletions

View File

@ -314,6 +314,3 @@ An observable produces values over time. An array is created as a static set of
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -129,7 +129,7 @@ Detect and act upon changes to input property values with the `ngOnChanges()` me
You may prefer this approach to the property setter when watching multiple, interacting input properties. You may prefer this approach to the property setter when watching multiple, interacting input properties.
Learn about `ngOnChanges()` in the [LifeCycle Hooks](guide/lifecycle-hooks) chapter. Learn about `ngOnChanges()` in the [Lifecycle Hooks](guide/lifecycle-hooks) chapter.
</div> </div>

View File

@ -283,4 +283,3 @@ Here's a revised version that defaults to `parent` but also accepts an optional
And here's how you could use it with a different parent type. And here's how you could use it with a different parent type.
<code-example path="dependency-injection-in-action/src/app/parent-finder.component.ts" region="beth-providers" header="dependency-injection-in-action/src/app/parent-finder.component.ts"></code-example> <code-example path="dependency-injection-in-action/src/app/parent-finder.component.ts" region="beth-providers" header="dependency-injection-in-action/src/app/parent-finder.component.ts"></code-example>

View File

@ -314,5 +314,3 @@ Dive deeper into the capabilities and advanced feature of the Angular DI system
* Learn more about [DI tokens and providers](guide/dependency-injection-providers). * Learn more about [DI tokens and providers](guide/dependency-injection-providers).
* [Dependency Injection in Action](guide/dependency-injection-in-action) is a cookbook for some of the interesting things you can do with DI. * [Dependency Injection in Action](guide/dependency-injection-in-action) is a cookbook for some of the interesting things you can do with DI.

View File

@ -283,4 +283,3 @@ To learn more about template-driven forms, see the following guides:
* [Template-driven Forms](guide/forms#template-driven-forms) * [Template-driven Forms](guide/forms#template-driven-forms)
* [Form Validation](guide/form-validation#template-driven-validation) * [Form Validation](guide/form-validation#template-driven-validation)

View File

@ -83,4 +83,3 @@ However, as noted above, classes that already have another class decorator like
## Should I update my library? ## Should I update my library?
Yes, if your library has any tokens that are meant to be injected, they should be updated with the `@Injectable()` decorator. In a future version of Angular, a missing `@Injectable()` decorator will always throw an error. Yes, if your library has any tokens that are meant to be injected, they should be updated with the `@Injectable()` decorator. In a future version of Angular, a missing `@Injectable()` decorator will always throw an error.

View File

@ -76,7 +76,7 @@ To simulate a network issue, disable network interaction for your application. I
<figure class="lightbox"> <figure class="lightbox">
<div class="card"> <div class="card">
<img src="generated/images/guide/service-worker/offline-checkbox.png" alt="The offline checkbox in the Network tab pis checked"> <img src="generated/images/guide/service-worker/offline-checkbox.png" alt="The offline checkbox in the Network tab is checked">
</div> </div>
</figure> </figure>

View File

@ -74,4 +74,3 @@ If you bootstrap your application into a different platform,
you'll have to provide a different `Title` service that understands you'll have to provide a different `Title` service that understands
the concept of a "document title" for that specific platform. the concept of a "document title" for that specific platform.
Ideally, the application itself neither knows nor cares about the runtime environment. Ideally, the application itself neither knows nor cares about the runtime environment.

View File

@ -968,7 +968,7 @@ Once you introduce the Angular Router, using the Angular Router triggers navigat
You can take advantage of Ahead-of-time (AOT) compilation on hybrid apps just like on any other You can take advantage of Ahead-of-time (AOT) compilation on hybrid apps just like on any other
Angular application. Angular application.
The setup for an hybrid app is mostly the same as described in The setup for a hybrid app is mostly the same as described in
[the Ahead-of-time Compilation chapter](guide/aot-compiler) [the Ahead-of-time Compilation chapter](guide/aot-compiler)
save for differences in `index.html` and `main-aot.ts` save for differences in `index.html` and `main-aot.ts`

View File

@ -85,4 +85,3 @@ After putting a few items in the cart, users can now review their items, enter n
Congratulations! You have a complete online store application with a product catalog, a shopping cart, and a checkout function. Congratulations! You have a complete online store application with a product catalog, a shopping cart, and a checkout function.
[Continue to the "Deployment" section](start/deployment "Getting Started: Deployment") to move to local development, or deploy your app to Firebase or your own server. [Continue to the "Deployment" section](start/deployment "Getting Started: Deployment") to move to local development, or deploy your app to Firebase or your own server.

View File

@ -15,7 +15,7 @@ This guide uses the StackBlitz Generator to show you a ready-made, simple applic
<header>New to web development?</header> <header>New to web development?</header>
There are many resources to complement the Angular docs. Mozilla's MDN docs include both [HTML](https://developer.mozilla.org/en-US/docs/Learn/HTML "Learning HTML: Guides and tutorials") and [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript "JavaScript") introductions. [TypeScript's docs](https://www.typescriptlang.org/docs/home.html "TypeScript documentation") include a 5-minute tutorial. Various online course platforms, such as [Udemy](http://www.udemy.com "Udemy online courses") and [Codecademy](https://www.codecademy.com/ "Codeacademy online courses"), also cover web development basics. There are many resources to complement the Angular docs. Mozilla's MDN docs include both [HTML](https://developer.mozilla.org/en-US/docs/Learn/HTML "Learning HTML: Guides and tutorials") and [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript "JavaScript") introductions. [TypeScript's docs](https://www.typescriptlang.org/docs/home.html "TypeScript documentation") include a 5-minute tutorial. Various online course platforms, such as [Udemy](http://www.udemy.com "Udemy online courses") and [Codecademy](https://www.codecademy.com/ "Codecademy online courses"), also cover web development basics.
</div> </div>
@ -366,4 +366,3 @@ You've also learned how the component class and template interact, and how compo
To continue exploring Angular, choose either of the following options: To continue exploring Angular, choose either of the following options:
* [Continue to the "Routing" section](start/routing "Getting Started: Routing") to create a product details page that can be accessed by clicking a product name and that has its own URL pattern. * [Continue to the "Routing" section](start/routing "Getting Started: Routing") to create a product details page that can be accessed by clicking a product name and that has its own URL pattern.
* [Skip ahead to the "Deployment" section](start/deployment "Getting Started: Deployment") to move to local development, or deploy your app to Firebase or your own server. * [Skip ahead to the "Deployment" section](start/deployment "Getting Started: Deployment") to move to local development, or deploy your app to Firebase or your own server.