Angular 4 custom event | event emiiter service - Tutorial

For Consultation : +91 9887575540

Stay Connected :

Event Emitter and data Passing from Child Component to the parent component.

Step1 : Create Child Component(mycomponent);

cd src/app

 ng g c mycomponent –flat

Step 2:

Write Following code into mycomponent.ts

Step 3: Pass reference of newly created component(mycomponent) into app.module.ts


Step 4: Update app.component

run code

ng serve –open


Select your currency