docs: copy paste error (#40812)
The removed bit was copied and pasted from a previous section. Not relevent for the particular step of the tutorial. The removed bit can we found as intended in __Adding Navigation__ section. PR Close #40812
This commit is contained in:
parent
80f4ff3338
commit
ca43938d24
|
@ -75,10 +75,6 @@ This section walks you through using the `CartService` to add a product to the c
|
|||
<code-example header="src/app/product-details/product-details.component.html" path="getting-started/src/app/product-details/product-details.component.html">
|
||||
</code-example>
|
||||
|
||||
The line, `<h4>{{ product.price | currency }}</h4>`, 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").
|
||||
|
||||
1. Verify that the new **Buy** button appears as expected by refreshing the application and clicking on a product's name to display its details.
|
||||
|
||||
<div class="lightbox">
|
||||
|
|
Loading…
Reference in New Issue