-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.ts
More file actions
45 lines (38 loc) · 1.51 KB
/
Copy pathmain.ts
File metadata and controls
45 lines (38 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import './polyfills';
import {HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {MatNativeDateModule, MatPaginatorIntl} from '@angular/material';
import {BrowserModule} from '@angular/platform-browser';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {DemoMaterialModule} from './material-module';
import {TableBasicExample} from './app/table-basic-example';
import {TablePaginatorExampleComponent} from './app/table-paginator-example/table-paginator-example.component';
import { PaginatorI18n} from './app/paginator-i18n.service';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
DemoMaterialModule,
MatNativeDateModule,
ReactiveFormsModule,
],
entryComponents: [TableBasicExample, TablePaginatorExampleComponent],
declarations: [TableBasicExample, TablePaginatorExampleComponent],
bootstrap: [TableBasicExample],
providers: [
{
provide: MatPaginatorIntl,
useClass: PaginatorI18n,
deps: []
}
]
})
export class AppModule {}
platformBrowserDynamic().bootstrapModule(AppModule);
/** Copyright 2019 Google Inc. All Rights Reserved.
Use of this source code is governed by an MIT-style license that
can be found in the LICENSE file at http://angular.io/license */