If you've used the Google to learn about how to implement AuthenticationFailureHandler with Spring Security, you might have noticed that most of the results deal with embedded login forms.
If you've got an Angular app that relies on Spring Boot to do the heavy-lifting on the back-end side, then you're probably going to need some kind of login solution. Fortunately, you can do that with a JSON Web Token (JWT).