first commit
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {Compiler, NgModule} from '@angular/core';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
|
||||
import {AppComponent} from './app.component';
|
||||
@ -27,6 +27,8 @@ import { EventComponent } from './component/event/event.component';
|
||||
import { BlogService } from './service/blog.service';
|
||||
import { AngularEditorModule } from '@josipv/angular-editor-k2';
|
||||
import { NotificationModule } from './notification/notification.module';
|
||||
import { EventFormComponent } from './component/event-form/event-form.component';
|
||||
// import { PagesModule } from './pages/pages.module';
|
||||
|
||||
|
||||
|
||||
@ -35,21 +37,22 @@ import { NotificationModule } from './notification/notification.module';
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
LoginComponent,
|
||||
RegisterComponent,
|
||||
UserComponent,
|
||||
ManagementComponent,
|
||||
UsersComponent,
|
||||
SettingsComponent,
|
||||
ProfileComponent,
|
||||
UsersTableComponent,
|
||||
UserViewComponent,
|
||||
UserEditComponent,
|
||||
ProfessorComponent,
|
||||
MenuComponent,
|
||||
HomeComponent,
|
||||
BlogComponent,
|
||||
EventComponent
|
||||
// LoginComponent,
|
||||
// RegisterComponent,
|
||||
// UserComponent,
|
||||
// ManagementComponent,
|
||||
// UsersComponent,
|
||||
// SettingsComponent,
|
||||
// ProfileComponent,
|
||||
// UsersTableComponent,
|
||||
// UserViewComponent,
|
||||
// UserEditComponent,
|
||||
// ProfessorComponent,
|
||||
// MenuComponent,
|
||||
// HomeComponent,
|
||||
// BlogComponent,
|
||||
// EventComponent,
|
||||
// EventFormComponent
|
||||
|
||||
],
|
||||
imports: [
|
||||
@ -57,11 +60,14 @@ import { NotificationModule } from './notification/notification.module';
|
||||
HttpClientModule,
|
||||
NotificationModule,
|
||||
AppRoutingModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
AngularEditorModule
|
||||
// FormsModule,
|
||||
// ReactiveFormsModule,
|
||||
// AngularEditorModule,
|
||||
// PagesModule,
|
||||
|
||||
],
|
||||
providers: [AuthenticationGuard, AuthenticationService, UserService,BlogService,
|
||||
// providers:[],
|
||||
providers: [Compiler,AuthenticationGuard, AuthenticationService, UserService,BlogService,
|
||||
{provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true}
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
|
||||
Reference in New Issue
Block a user