1
|
/**
|
2
|
* Created by stefania on 9/16/16.
|
3
|
*/
|
4
|
import { NgModule } from '@angular/core';
|
5
|
import { BrowserModule } from '@angular/platform-browser';
|
6
|
import { HttpModule, JsonpModule } from '@angular/http';
|
7
|
import { AppComponent } from "./app.component";
|
8
|
import { routing, appRoutingProviders } from "./app.routing";
|
9
|
import { DashboardComponent } from "./dashboard.component";
|
10
|
import { TopicsComponent } from "./pages/faq/topics.components";
|
11
|
import { QuestionsComponent } from "./pages/faq/questions.component";
|
12
|
import { FAQService } from "./services/faq.service";
|
13
|
import { ModalModule } from 'ngx-bootstrap';
|
14
|
import { CollapseModule } from 'ngx-bootstrap';
|
15
|
import { AccordionModule } from 'ngx-bootstrap';
|
16
|
import { TopicsFormComponent } from "./pages/faq/topics-form.component";
|
17
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
18
|
import { ModalFormComponent } from "./pages/modal-form.component";
|
19
|
import { QuestionsFormComponent } from "./pages/faq/questions-form.component";
|
20
|
import { DeleteConfirmationDialogComponent } from "./pages/delete-confirmation-dialog.component";
|
21
|
import { JWBootstrapSwitchModule } from 'jw-bootstrap-switch-ng2';
|
22
|
import { PagesComponent } from "./pages/helpcontent/pages.component";
|
23
|
import { HelpContentService } from "./services/help-content.service";
|
24
|
import { PageFormComponent } from "./pages/helpcontent/page-form.component";
|
25
|
import { PageHelpContentsComponent } from "./pages/helpcontent/page-help-contents.component";
|
26
|
import { NewPageHelpContentComponent } from "./pages/helpcontent/new-page-help-content.component";
|
27
|
import { CKEditorModule } from 'ng2-ckeditor';
|
28
|
import { PageContentFormComponent } from "./pages/helpcontent/page-help-content-form.component";
|
29
|
import { EditPageHelpContentComponent } from "./pages/helpcontent/edit-page-help-content.component";
|
30
|
import { SelectEntitiesComponent } from "./pages/helpcontent/selectEntities.component";
|
31
|
import { EntityFormComponent } from "./pages/helpcontent/entity-form.component";
|
32
|
|
33
|
@NgModule({
|
34
|
imports: [
|
35
|
BrowserModule,
|
36
|
routing,
|
37
|
HttpModule,
|
38
|
JsonpModule,
|
39
|
ModalModule.forRoot(),
|
40
|
CollapseModule.forRoot(),
|
41
|
AccordionModule.forRoot(),
|
42
|
FormsModule,
|
43
|
ReactiveFormsModule,
|
44
|
JWBootstrapSwitchModule,
|
45
|
CKEditorModule
|
46
|
],
|
47
|
declarations: [
|
48
|
AppComponent,
|
49
|
DashboardComponent,
|
50
|
TopicsComponent,
|
51
|
QuestionsComponent,
|
52
|
TopicsFormComponent,
|
53
|
ModalFormComponent,
|
54
|
QuestionsFormComponent,
|
55
|
DeleteConfirmationDialogComponent,
|
56
|
PagesComponent,
|
57
|
PageFormComponent,
|
58
|
PageHelpContentsComponent,
|
59
|
NewPageHelpContentComponent,
|
60
|
PageContentFormComponent,
|
61
|
EditPageHelpContentComponent,
|
62
|
SelectEntitiesComponent,
|
63
|
EntityFormComponent
|
64
|
],
|
65
|
providers: [
|
66
|
FAQService,
|
67
|
HelpContentService,
|
68
|
appRoutingProviders
|
69
|
],
|
70
|
bootstrap: [ AppComponent ]
|
71
|
})
|
72
|
|
73
|
export class AppModule { }
|