Adder Global Loading spiner for api calls
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { ContactSidebarComponent } from './contact-sidebar/contact-sidebar.component';
|
||||
@@ -11,12 +11,13 @@ import { ProjectsComponent } from './projects/projects.component';
|
||||
import { BlogComponent } from './blog/blog.component';
|
||||
import { ContactComponent } from './contact/contact.component';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { AuthInterceptor } from './http-interceptors/auth.interceptor';
|
||||
import { httpInterceptorProviders } from './http-interceptors';
|
||||
import { SpinnerComponent } from './spinner/spinner.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
SpinnerComponent,
|
||||
ContactSidebarComponent,
|
||||
NavbarComponent,
|
||||
AboutComponent,
|
||||
|
||||
Reference in New Issue
Block a user