32 lines
835 B
TypeScript
32 lines
835 B
TypeScript
import {RouterModule} from '@angular/router';
|
|
import {MainComponent} from './main.component/main.component';
|
|
import {mainRouting} from './main.routing';
|
|
import {NgModule} from '@angular/core';
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {HTTP_INTERCEPTORS} from '@angular/common/http';
|
|
import {CustomHttpInterceptor} from '../helpers/custom-http-interceptor';
|
|
import {AngularImageViewerModule} from '@hreimer/angular-image-viewer';
|
|
import {BrowserModule} from '@angular/platform-browser';
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
|
|
],
|
|
imports: [
|
|
mainRouting,
|
|
MainComponent,
|
|
|
|
|
|
|
|
],
|
|
exports: [RouterModule],
|
|
providers: [{
|
|
provide: HTTP_INTERCEPTORS,
|
|
useClass: CustomHttpInterceptor,
|
|
multi: true
|
|
}],
|
|
})
|
|
export class MainModule {}
|