Hello, MANIAMAX!
This doubt is frequent in angular beginners, especially those coming from php back-end and the like.
The angular form of authentication is done using tokens. You will make a request pro server with email and password. From this, the server does the checking and if it is ok, it will send a token. This token must be saved by the client.
And what to do with this token?
You will use it to check the login.
The way to detect this token on the server can be several. You can enter it in the request itself, send it as a parameter or check the browser cache.
Token is unique to each user.
I hope you’ve solved your doubt. I could give you an example, but from what I understand, your doubt is more about how it works than how it works.
A complete example with login: http://kazale.com/curso-angular-2-aula-1-creation-firstapplication/
– Junior Osho