In

Angular 6 HTTP Loading Spinner example