-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.module.ts
More file actions
27 lines (25 loc) · 783 Bytes
/
Copy pathapp.module.ts
File metadata and controls
27 lines (25 loc) · 783 Bytes
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
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { EmptyDirective } from './empty.directive';
import { HttpModule } from '@angular/http';
import { DefaultAvatarDirective } from './default_avatar.directive';
import { TrainersService } from './trainers.service'
import { TrainersComponent } from './trainers.component';
import { TrainerShowComponent } from './trainer_show.component';
@NgModule({
declarations: [
AppComponent,
EmptyDirective,
DefaultAvatarDirective,
TrainersComponent,
TrainerShowComponent
],
imports: [
BrowserModule,
HttpModule
],
providers: [TrainersService],
bootstrap: [AppComponent]
})
export class AppModule { }