Send input scope data to another page for SMS purpose

I have 2 inputs 1 for firstName and second for lastName so I need to pass that inputed scope data to the next page of my app which will send that scope data to the database whenever I applied a specific trigger for that for example a timeout function. by the way I tried factory controller , I easily passes data through between controllers but in the same single page, my aim is to send it to another page or to another controller to “another page”. Thank you for understanding! Godbless!

Didnt understand at all, You have to share some sample code

use factory/services in order to share/use data from another page to another…