chore: fix a few standing typos (#3280)

This commit is contained in:
Jesús Rodríguez 2017-02-22 04:45:02 +01:00 committed by Jules Kremer
parent d41ac241e7
commit 11701c009f
5 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ l-main-section
Your initial app has only a single module, the _root_ module.
As your app grows, you'll consider subdividing it into multiple "feature" modules,
so of which can be loaded later ("lazy loaded") if and when the user chooses
some of which can be loaded later ("lazy loaded") if and when the user chooses
to visit those features.
When you're ready to explore these possibilities, visit the [Angular Modules (NgModule)](ngmodule.html) guide.

View File

@ -177,7 +177,7 @@ a#create-component
:marked
The `moduleId: module.id` lets you use
[component-relative paths](./cookbook/component-relative-paths.html) in file URLs
[component-relative paths](../cookbook/component-relative-paths.html) in file URLs
such as when specifying the `templateUrl`.
Next, create an exported `HeroDetailComponent` class with a `FormControl`.

View File

@ -2416,7 +2416,7 @@ h3#can-load-guard <i>CanLoad Guard</i>: guarding unauthorized loading of feature
It redirects to the login page if the user is not authorized.
But the router is still loading the `AdminModule` even if the user can't visit any of its components.
Ideally, you's only load the `AdminModule` if the user is logged in.
Ideally, you'd only load the `AdminModule` if the user is logged in.
Add a **`CanLoad`** guard that only loads the `AdminModule` once the user is logged in _and_ attempts to access the admin feature area.

View File

@ -181,7 +181,7 @@ a(href="#toc") Back to top
.s-why
:marked
**Why?** The naming conventions should simply help find desited code faster and make it easier to understand.
**Why?** The naming conventions should simply help find desired code faster and make it easier to understand.
.s-why.s-why-last
:marked

View File

@ -416,7 +416,7 @@ block observables-section-intro
+ifDocsFor('ts')
:marked
A more important difference: we no longer call `toPromise`.
Instead we return the *observable* from the the `htttp.get`,
Instead we return the *observable* from the the `http.get`,
after chaining it to another RxJS operator, <code>map</code>,
to extract heroes from the response data.