added data service

This commit is contained in:
chsakell
2016-09-29 15:50:28 +03:00
parent e6aed79fa9
commit ac613432aa
6 changed files with 158 additions and 9 deletions

View File

@@ -4,6 +4,8 @@ import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { ConfigService } from './shared/config.service';
import { DataService } from './shared/data.service';
import { HomeComponent } from './home/home.component';
import { routing } from './app.routes';
@@ -18,6 +20,10 @@ import { routing } from './app.routes';
AppComponent,
HomeComponent
],
bootstrap: [AppComponent]
bootstrap: [AppComponent],
providers: [
ConfigService,
DataService
]
})
export class AppModule { }