# Ionic lifecycle states with Angular 2 components

**URL:** <https://forum.ionicframework.com/t/ionic-lifecycle-states-with-angular-2-components/45294>\
**Category:** ionic-v3\
**Created:** [March 2, 2016, 3:44pm UTC](https://forum.ionicframework.com/t/ionic-lifecycle-states-with-angular-2-components/45294 "2016-03-02T15:44:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prolink007](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/prolink007/32/93738_2.png) [@prolink007](https://forum.ionicframework.com/u/prolink007)\
**Post date:** [March 2, 2016, 3:44pm UTC](https://forum.ionicframework.com/t/ionic-lifecycle-states-with-angular-2-components/45294/1 "2016-03-02T15:44:56Z")

</div>

I have an Ionic 2 Page that contains Angular 2 Components. Is there a way to let those components know when an Ionic lifecycle event has happened?

For instance, how do i tell the angular 2 components the Ionic onPageDidLeave lifecycle event has happened? Or any of the other states?

My angular 2 components need to know when the page “didLeave” and “didEnter”.

Thanks
