1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

adding missing network provider ref

This commit is contained in:
Braun Patrik 2016-05-04 22:44:26 +02:00
parent ffb720757d
commit 936bf15f28

View File

@ -9,7 +9,8 @@ import {Router, RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from "@angular
import {HTTP_PROVIDERS} from "@angular/http"; import {HTTP_PROVIDERS} from "@angular/http";
import {UserService} from "./model/network/user.service.ts"; import {UserService} from "./model/network/user.service.ts";
import {GalleryService} from "./gallery/gallery.service"; import {GalleryService} from "./gallery/gallery.service";
import {AdminComponent} from "./admin/admin.component"; import {AdminComponent} from "./admin/admin.component";
import {NetworkService} from "./model/network/network.service";
@Component({ @Component({
@ -19,6 +20,7 @@ import {AdminComponent} from "./admin/admin.component";
providers: [ providers: [
HTTP_PROVIDERS, HTTP_PROVIDERS,
ROUTER_PROVIDERS, ROUTER_PROVIDERS,
NetworkService,
UserService, UserService,
GalleryService, GalleryService,
AuthenticationService] AuthenticationService]