stable after blogs
This commit is contained in:
@ -7,12 +7,11 @@ import {AuthenticationService} from "./service/authentication.service";
|
||||
import {UserService} from "./service/user.service";
|
||||
import {AuthInterceptor} from "./interceptor/auth.interceptor";
|
||||
import {AuthenticationGuard} from "./guard/authentication.guard";
|
||||
import {NotificationModule} from "./notification/notification.module";
|
||||
import {LoginComponent} from './component/login/login.component';
|
||||
import {RegisterComponent} from './component/register/register.component';
|
||||
import {UserComponent} from './component/user/user.component';
|
||||
import {AppRoutingModule} from './app-routing.module';
|
||||
import {FormsModule} from "@angular/forms";
|
||||
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
||||
import {ManagementComponent} from './component/management/management.component';
|
||||
import {UsersComponent} from './component/management/users/users.component';
|
||||
import {SettingsComponent} from './component/management/settings/settings.component';
|
||||
@ -20,6 +19,18 @@ import {ProfileComponent} from './component/management/profile/profile.component
|
||||
import {UsersTableComponent} from './component/management/users/users-table/users-table.component';
|
||||
import {UserViewComponent} from './component/management/users/user-view/user-view.component';
|
||||
import {UserEditComponent} from './component/management/users/user-edit/user-edit.component';
|
||||
import { ProfessorComponent } from './component/professor/professor.component';
|
||||
import { MenuComponent } from './component/menu/menu.component';
|
||||
import { HomeComponent } from './component/home/home.component';
|
||||
import { BlogComponent } from './component/blog/blog.component';
|
||||
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';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@ -33,16 +44,24 @@ import {UserEditComponent} from './component/management/users/user-edit/user-edi
|
||||
ProfileComponent,
|
||||
UsersTableComponent,
|
||||
UserViewComponent,
|
||||
UserEditComponent
|
||||
UserEditComponent,
|
||||
ProfessorComponent,
|
||||
MenuComponent,
|
||||
HomeComponent,
|
||||
BlogComponent,
|
||||
EventComponent
|
||||
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
HttpClientModule,
|
||||
NotificationModule,
|
||||
AppRoutingModule,
|
||||
FormsModule
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
AngularEditorModule
|
||||
],
|
||||
providers: [AuthenticationGuard, AuthenticationService, UserService,
|
||||
providers: [AuthenticationGuard, AuthenticationService, UserService,BlogService,
|
||||
{provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true}
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
|
||||
Reference in New Issue
Block a user