Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
How to open a modal from a parent component and have the close action reset the parent component so that the modal can open again in angular

I have two components parent and child component . child component is a modal overlay(popup). In parent component on one click I have to open modal . till here I have done but once I close modal ,I'm not able to open modal again.

parent component html

<a (ckick)="openLearningPathPopup()"> click here </a>

<div id="learningPopup" *ngIf="showLearningPopup">
  <app-ds-emp-learning ></app-ds-emp-learning>
</div>


parent component ts part


showLearningPopup :boolean = false;

openLearningPathPopup(){ 
      this.showLearningPopup = true;
  }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!