Learning how an Angular app can be secured with JWT, I found two wonderful blog posts that showed how to implement a basic setup. If forked both of the corresponding repositories and upgraded the server side to Spring Boot 2. So if you need a working but small example on how to use JWT with Angular, here you go:
Server-side: my repository (upgraded to Spring Boot 2), original blog article, original repository Client-side: my repository (no changes done), original blog article, original repository Have fun! :)