-import { Component, OnInit, Input } from '@angular/core';
+import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'app-product-alerts',
export class ProductAlertsComponent implements OnInit {
@Input() product;
+ @Output() notify = new EventEmitter();
constructor() { }