ngCordova Local Notification Open to popup in app

I have the Local Notification plugin in my app. How can I make the notification once opened at takes you to the app to show a popup with the information from the notification. So for example I have a local notification with a random fact about something. I slide to open from my iPhone lock screen and it takes me to the app and no matter from which state in that app it will show a popup with the random fact from the notification.