1 | import { NgModule } from '@angular/core';
|
---|
2 | import { BrowserModule } from '@angular/platform-browser';
|
---|
3 |
|
---|
4 | import { AppRoutingModule } from './app-routing.module';
|
---|
5 | import { AppComponent } from './app.component';
|
---|
6 | import { StudentCourseComponent } from './student-course/student-course.component';
|
---|
7 | import {HttpClientModule} from "@angular/common/http";
|
---|
8 | import { SubjectComponent } from './subject/subject.component';
|
---|
9 | import { QuestionComponent } from './question/question.component';
|
---|
10 | import { LoginComponent } from './login/login.component';
|
---|
11 | import { FormsModule } from '@angular/forms';
|
---|
12 | import {RouterModule} from "@angular/router";
|
---|
13 | import { QuestionDetailsComponent } from './question-details/question-details.component';
|
---|
14 | import { AllCoursesComponent } from './all-courses/all-courses.component';
|
---|
15 | import { AddQuestionComponent } from './add-question/add-question.component';
|
---|
16 | import { AddAnswerComponent } from './add-answer/add-answer.component';
|
---|
17 | import { CategoryComponent } from './category/category.component';
|
---|
18 | import { AdminPanelComponent } from './admin-panel/admin-panel.component';
|
---|
19 | import { MaterialsComponent } from './materials/materials.component';
|
---|
20 | import { AddMaterialComponent } from './add-material/add-material.component';
|
---|
21 | import { NgMultiSelectDropDownModule } from 'ng-multiselect-dropdown';
|
---|
22 |
|
---|
23 | @NgModule({
|
---|
24 | declarations: [
|
---|
25 | AppComponent,
|
---|
26 | StudentCourseComponent,
|
---|
27 | SubjectComponent,
|
---|
28 | QuestionComponent,
|
---|
29 | LoginComponent,
|
---|
30 | QuestionDetailsComponent,
|
---|
31 | AllCoursesComponent,
|
---|
32 | AddQuestionComponent,
|
---|
33 | AddAnswerComponent,
|
---|
34 | CategoryComponent,
|
---|
35 | AdminPanelComponent,
|
---|
36 | MaterialsComponent,
|
---|
37 | AddMaterialComponent
|
---|
38 | ],
|
---|
39 | imports: [
|
---|
40 | BrowserModule,
|
---|
41 | AppRoutingModule,
|
---|
42 | HttpClientModule,
|
---|
43 | FormsModule,
|
---|
44 | RouterModule,
|
---|
45 | NgMultiSelectDropDownModule.forRoot()
|
---|
46 | ],
|
---|
47 | providers: [],
|
---|
48 | bootstrap: [AppComponent]
|
---|
49 | })
|
---|
50 | export class AppModule { }
|
---|