https://especialidadeseivconstruccion.blogspot.com/2024/02/angularjs-sharing-variables-between.html
Angularjs - Sharing Variables Between Controllers