A library when click event sends HTTP request, disables tag until client gets response.
npm i ngx-disabled-on-http
<button [NgxDisabledOnHttp]="url" (click)="onButtonClicked()">Get Facts</button>
imports: [
...,
NgxDisabledOnHttpModule
];
See this or Clone repository and serve