How to use ng-http-loader - 5 common examples

To help you get started, we’ve selected a few ng-http-loader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github adorsys / XS2A-Sandbox / tpp-ui / src / app / app.module.ts View on Github external
TestDataGenerationComponent,
        CertificateComponent,
        AccountAccessManagementComponent
    ],
    imports: [
        BrowserModule,
        AppRoutingModule,
        HttpClientModule,
        FormsModule,
        ReactiveFormsModule,
        IconModule,
        InfoModule,
        BrowserAnimationsModule,
        FileUploadModule,
        FilterPipeModule,
        NgHttpLoaderModule.forRoot()
    ],
    providers: [
        AutoLogoutService,
        AuthGuard,
        {
            provide: HTTP_INTERCEPTORS,
            useClass: AuthInterceptor,
            multi: true
        },
        {
            provide: ErrorHandler,
            useClass: GlobalErrorsHandler
        }
    ],
    bootstrap: [AppComponent]
})
github mpalourdio / SpringBootAngularHTML5 / front / src / app / app.module.ts View on Github external
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgHttpLoaderModule } from 'ng-http-loader';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app.routing.module';

@NgModule({
    declarations: [
        AppComponent,
    ],
    imports: [
        BrowserModule,
        HttpClientModule,
        AppRoutingModule,
        NgHttpLoaderModule.forRoot(),
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
github adorsys / XS2A-Sandbox / tpp-ui / src / app / app.module.ts View on Github external
UserProfileComponent,
    PaginationContainerComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
    IconModule,
    InfoModule,
    BrowserAnimationsModule,
    AppRoutingModule,
    FileUploadModule,
    FilterPipeModule,
    NgHttpLoaderModule.forRoot(),
    NgbModalModule,
    BrowserModule,
    NgbPaginationModule
  ],
  providers: [
    AutoLogoutService,
    AuthGuard,
    { provide: APP_INITIALIZER, useFactory: app_Init, deps: [SettingsHttpService], multi: true },
    {
      provide: HTTP_INTERCEPTORS,
      useClass: AuthInterceptor,
      multi: true
    },
    {
      provide: ErrorHandler,
      useClass: GlobalErrorsHandler
github adorsys / XS2A-Sandbox / oba-ui / src / app / app.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [
        AppComponent
      ],
      imports: [
        RouterTestingModule,
        NgHttpLoaderModule.forRoot()
      ],
      providers: [
        ApiConfiguration,
        {provide: URL_PARAMS_PROVIDER, useValue: {}},
        {provide: CustomizeService, useValue: CustomizeServiceStub}
      ]
    })
    .compileComponents()
    .then(() => {
      customizeService = TestBed.get(CustomizeService);
    });
  }));
  beforeEach(() => {
github adorsys / XS2A-Sandbox / oba-ui / src / app / app.module.ts View on Github external
import {ShareDataService} from './common/services/share-data.service';
import {ObaErrorsHandler} from "./common/interceptors/ObaErrorsHandler";
import {NgHttpLoaderModule} from "ng-http-loader";


@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    ReactiveFormsModule,
    FormsModule,
    HttpClientModule,
    NgHttpLoaderModule.forRoot()
  ],
  providers: [
    AisService,
    ShareDataService,
    {
      provide: HTTP_INTERCEPTORS,
      useClass: AuthInterceptor,
      multi: true
    },
    {
      provide: ErrorHandler,
      useClass: ObaErrorsHandler
    }
  ],
  bootstrap: [AppComponent]
})

ng-http-loader

[![Build Status](https://github.com/mpalourdio/ng-http-loader/workflows/CI/badge.svg?branch=master)](https://github.com/mpalourdio/ng-http-loader/actions) [![Coverage Status](https://coveralls.io/repos/github/mpalourdio/ng-http-loader/badge.svg?branch=mas

MIT
Latest version published 8 days ago

Package Health Score

75 / 100
Full package analysis

Popular ng-http-loader functions