I need to stop sending multiple requests, when user clicks many times on the form submit button. So the user can't send next request until the first response is receiving. In the meanwhile he can see the spinner animation instead of this button. When response is receiving, he can click and submit again.
Not sure how to start. The button has own component, and I would like to modify the code in one place. Not sure if I need to use interceptors, directives, or what? What do you think?