Product-Details aus Tutorial übernommen
[examples/angular-tutorial] / src / app / product-details / product-details.component.html
diff --git a/src/app/product-details/product-details.component.html b/src/app/product-details/product-details.component.html
new file mode 100644 (file)
index 0000000..a86d6b8
--- /dev/null
@@ -0,0 +1,7 @@
+<h2>Product Details</h2>
+
+<div *ngIf="product">
+  <h3>{{ product.name }}</h3>
+  <h4>{{ product.price | currency }}</h4>
+  <p>{{ product.description }}</p>
+</div>