projects
/
examples
/
angular-tutorial
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cart-Seite aus Tutorial implementiert
[examples/angular-tutorial]
/
src
/
app
/
cart
/
cart.component.html
diff --git
a/src/app/cart/cart.component.html
b/src/app/cart/cart.component.html
index
6bdabc8
..
222ee9d
100644
(file)
--- a/
src/app/cart/cart.component.html
+++ b/
src/app/cart/cart.component.html
@@
-1
+1,6
@@
-<p>cart works!</p>
+<h3>Cart</h3>
+
+<div class="cart-item" *ngFor="let item of items">
+ <span>{{ item.name }}</span>
+ <span>{{ item.price | currency }}</span>
+</div>