-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.module.ts
More file actions
61 lines (48 loc) · 1.55 KB
/
app.module.ts
File metadata and controls
61 lines (48 loc) · 1.55 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { HeaderComponent } from './blocks/header/header.component';
import { SidebarComponent } from './blocks/sidebar/sidebar.component';
import {
ContactsListComponent,
ContactCardComponent,
ContactFormComponent,
FavoritesContactsComponent,
NewContactComponent,
EditContactComponent
} from './contacts/components';
import { ProfileComponent } from './profile/profile.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { ContactService } from './services/contact.service';
import { GithubService } from './services/github.service';
import { AdressComponent } from './contacts/components/contact-form/adress/adress.component';
@NgModule({
declarations: [
AppComponent,
HeaderComponent,
SidebarComponent,
ContactsListComponent,
ContactCardComponent,
ContactFormComponent,
ProfileComponent,
DashboardComponent,
FavoritesContactsComponent,
AdressComponent,
NewContactComponent,
EditContactComponent
],
imports: [
BrowserModule,
FormsModule,
AppRoutingModule,
HttpModule,
HttpClientModule
],
providers: [ ContactService, GithubService ],
bootstrap: [AppComponent]
})
export class AppModule { }