From e7ce96e780a53f79494c81f7587d00c817c1f598 Mon Sep 17 00:00:00 2001 From: Jethro Lee Date: Tue, 11 Aug 2020 20:50:38 +0900 Subject: [PATCH] docs: move placement of help note in tutorial (#38508) PR Close #38508 --- aio/content/start/start-data.md | 4 ++-- aio/content/start/start-routing.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/aio/content/start/start-data.md b/aio/content/start/start-data.md index f1cb759896..6e1993c269 100644 --- a/aio/content/start/start-data.md +++ b/aio/content/start/start-data.md @@ -101,10 +101,10 @@ This section walks you through using the cart service to add a product to the ca - +
- The line, `

{{ product.price | currency }}

` uses the `currency` pipe to transform `product.price` from a number to a currency string. A pipe is a way you can transform data in your HTML template. For more information about Angular pipes, see [Pipes](guide/pipes "Pipes"). + The line, `

{{ product.price | currency }}

`, uses the `currency` pipe to transform `product.price` from a number to a currency string. A pipe is a way you can transform data in your HTML template. For more information about Angular pipes, see [Pipes](guide/pipes "Pipes").
diff --git a/aio/content/start/start-routing.md b/aio/content/start/start-routing.md index 7a9afd80bc..0d950644a8 100644 --- a/aio/content/start/start-routing.md +++ b/aio/content/start/start-routing.md @@ -86,6 +86,12 @@ The product details component handles the display of each product. The Angular R +
+ + The line, `

{{ product.price | currency }}

`, uses the `currency` pipe to transform `product.price` from a number to a currency string. A pipe is a way you can transform data in your HTML template. For more information about Angular pipes, see [Pipes](guide/pipes "Pipes"). + +
+ Now, when users click on a name in the product list, the router navigates them to the distinct URL for the product, swaps out the product list component for the product details component, and displays the product details.