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
|
import { NgModule } from '@angular/core';
import { AdminComponent } from './admin.component';
import { AdminRoutingModule } from './admin-routing.module';
import { FriendsComponent, FriendAddComponent, FriendListComponent, FriendService } from './friends';
import { RequestsComponent, RequestStatsComponent, RequestService } from './requests';
import { UsersComponent, UserAddComponent, UserListComponent, UserService } from './users';
import { MenuAdminComponent } from './menu-admin.component';
import { SharedModule } from '../shared';
@NgModule({
imports: [
AdminRoutingModule,
SharedModule
],
declarations: [
AdminComponent,
FriendsComponent,
FriendAddComponent,
FriendListComponent,
RequestsComponent,
RequestStatsComponent,
UsersComponent,
UserAddComponent,
UserListComponent,
MenuAdminComponent
],
exports: [
AdminComponent,
MenuAdminComponent
],
providers: [
FriendService,
RequestService,
UserService
]
})
export class AdminModule { }
|