title: Get the value of (Set-Cookie) and store it in the browser angular 8
body: <p>I'm a new web developer, working with spring boot and angular 8.
  When I try to login with the username and password the server generate a token and send it back to the http response, so my question is how to get the value of the cookie and store it in the browser.<a href="https://i.stack.imgur.com/kwCmg.png" rel="nofollow noreferrer">this is the java code that store the cookie in the header.</a></p>
  
  <p><a href="https://i.stack.imgur.com/Qjqzb.png" rel="nofollow noreferrer">this is the response header where the token is.</a></p>