Marianna Feldman
Aug 28, 2017 · 1 min read

Akshar Takle, Thank you for this great post. Using FormBuilder is very convenient to pass data from parent to child.

I have a question: if my parent component is a table, and child model component is launched by pressing on one of the table’s cell, how can I define this line inside parent html <app-modal (passData)=”getData($event)”></app-modal>? The modal should be shown only per demand. (I’m newbie in Angular, thus apologies if question is stupid). Thank you in advance

)