title: Trigger a function when condition in ngIf turns true in Angular 2
body: <p>Is there a way in which I can trigger a function just after the ngIf condition turns true and the DOM is rendered accordingly?</p>
  
  <p>Condition: the click and the ngif are applied to different blocks</p>