What is the process for establishing a global variable in Angular? I have established a variable within a service, entered a value in the login component, and attempted to access this variable from another component. However, I noticed that the value reset itself in the service. What adjustments or additions should be made to resolve this issue?