projects
/
examples
/
angular-tutorial
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Storybook hinzugefĆ¼gt
[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>