Login and then, pass parameters to the side menu

Hello, I consulted because I have an app with initial login passing two variables as parameters to a state “home” which has “home.html” as url.

In app.js:

.state (‘app.home’, {
url: “/ home /: param1 /: param2”

That works perfect, and see the variables. Then, these two variables want to see them in all states (rating and user). They will ALWAYS show in a bar. How I make them global / public? Thank you for the help you can give me

You can use service / factory to store global data and inject it every where you need it

yes that’s right. use factory or service for using it globally…

Thank you very much for the help !!!