I'm trying to develop a web app in which the users need to login. So I need to store their Session ID.
I would need to make an http get to the Rest API, get the session ID if the user is signed in, and then return this Session ID. But the angular2 script would need to wait until it gets this Session ID before executing the rest of the code...
Is their a way to make that possible ?