Skip to content

Commit

Permalink
docs: fix typos in getting-started (angular#29665)
Browse files Browse the repository at this point in the history
PR angular#27684 introduced a new getting-started guide and a few typos slipped through the review.

PR Close angular#29665
  • Loading branch information
cexbrayat authored and wKoza committed Apr 17, 2019
1 parent a44071b commit 54e23c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aio/content/getting-started/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ When the "Buy" button is clicked, you'll use the cart service to add the current

## Create the cart page

At this point, user can put items in the cart by clicking "Buy", but they can't yet see their cart.
At this point, users can put items in the cart by clicking "Buy", but they can't yet see their cart.

We'll create the cart page in two steps:

Expand All @@ -127,7 +127,7 @@ We'll create the cart page in two steps:

### Set up the component

To create the cart page, you being by following the same steps you did to create the product details component and to set up routing for the new component.
To create the cart page, you begin by following the same steps you did to create the product details component and to set up routing for the new component.

1. Generate a cart component, named `cart`.

Expand Down
2 changes: 1 addition & 1 deletion aio/content/getting-started/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The app is already set up to use the Angular router and to use routing to naviga
To do: I see a comment line with ellipses between the closing of h3 and div. It's an interesting way to show that we've clipped out some code. Should we use this elsewhere?
-->

The RouterLink directive give the router control over the anchor element. In this case, the route (URL) contains one fixed segment (`/products`) and the final segment is variable, inserting the id property of the current product. For example, the URL for a product with an `id` of 1 will be similar to `https://getting-started-myfork.stackblitz.io.products/1`.
The RouterLink directive gives the router control over the anchor element. In this case, the route (URL) contains one fixed segment (`/products`) and the final segment is variable, inserting the id property of the current product. For example, the URL for a product with an `id` of 1 will be similar to `https://getting-started-myfork.stackblitz.io.products/1`.

1. Test the router by clicking a product name. The app displays the product details component, which currently always says "product-details works!" (We'll fix this in the next section.)

Expand Down

0 comments on commit 54e23c0

Please sign in to comment.