projects
/
examples
/
angular-tutorial
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
726bc783ff23fbefceed57aafbf73182fef66eff
[examples/angular-tutorial]
/
src
/
app
/
product-details
/
product-details.component.html
1
<h2>Product Details</h2>
2
3
<div *ngIf="product">
4
<h3>{{ product.name }}</h3>
5
<h4>{{ product.price | currency }}</h4>
6
<p>{{ product.description }}</p>
7
<button (click)="addToCart(product)">Buy</button>
8
</div>