-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.module.ts
62 lines (58 loc) · 2.87 KB
/
app.module.ts
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";
import { AppComponent } from "./app.component";
import { provideHttpClient, withInterceptorsFromDi } from "@angular/common/http";
import { ContentComponent } from "./components/content-block/content-block.component";
import { WrapperComponentDirective } from "./directives/component-wrapper.directive";
import { RootUrlService } from "./services/root-url.service";
import { CommonModule } from "@angular/common";
import { RendererContractImpl } from "./editor/renderer-contract";
import { RenderContext } from "./services/render-context";
import { RenderWidgetService } from "./services/render-widget.service";
import { ErrorComponent } from "./components/error/error.component";
import { SectionComponent } from "./components/section/section.component";
import { DynamicAttributesDirective } from "./directives/dynamic-attributes.directive";
import { RestService } from "./sdk/services/rest.service";
import { StyleGenerator } from "./styling/style-generator.service";
import { ContentListComponent } from "./components/content-list/content-list.component";
import { ContentListDetailComponent } from "./components/content-list/detail/content-list-detail.component";
import { LayoutService } from "./sdk/services/layout.service";
import { ServiceMetadata } from "./sdk/service-metadata";
import { ContentListMasterComponent } from "./components/content-list/master/content-list-master.component";
import { CardsListComponent } from "./components/content-list/master/cards-list/cards-list.component";
import { ContentListRestService } from "./components/content-list/content-list-rest.service";
import { ListWithImageComponent } from "./components/content-list/master/list-with-image/list-with-image.component";
import { ListWithSummaryComponent } from "./components/content-list/master/list-with-summary/list-with-summary.component";
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({ declarations: [
AppComponent,
ContentComponent,
SectionComponent,
ContentListComponent,
ContentListDetailComponent,
ContentListMasterComponent,
CardsListComponent,
ErrorComponent,
WrapperComponentDirective,
DynamicAttributesDirective,
ListWithImageComponent,
ListWithSummaryComponent,
],
bootstrap: [AppComponent], imports: [BrowserModule,
CommonModule,
BrowserAnimationsModule], providers: [
RootUrlService,
LayoutService,
ServiceMetadata,
RestService,
StyleGenerator,
RenderContext,
RenderWidgetService,
RendererContractImpl,
WrapperComponentDirective,
DynamicAttributesDirective,
ContentListRestService,
provideHttpClient(withInterceptorsFromDi()),
] })
export class AppModule {
}