How to open specific page on push notification click?

I am trying the to open specific page on click push notification.

Push notification coming fine using + firebase .

I am writing code on pushObject.on(‘notification’).subscribe((notification: any) => console.log(‘Received a notification’, notification));

But I am not able to handle this event on push notification click

Anyone have idea about why it is not working on push notification click?