1 import { Injectable } from '@angular/core'
2 import { Http } from '@angular/http'
4 import { RestExtractor } from '../../shared/rest'
7 export class ConfigService {
8 private static BASE_CONFIG_URL = API_URL + '/api/v1/config/'
22 private restExtractor: RestExtractor
26 this.http.get(ConfigService.BASE_CONFIG_URL)
27 .map(this.restExtractor.extractDataGet)