1 import { Component } from '@angular/core';
3 import { products } from '../products';
6 templateUrl: './product-list.component.html',
7 styleUrls: ['./product-list.component.css']
9 export class ProductListComponent {
13 window.alert('The product has been pimmelled!');
17 window.alert('You have been pimmeld!');