[Library | Trunk]: Make utils service injectable root
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59486 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
278bf04edd
commit
b4c9dffda6
|
@ -3,7 +3,9 @@ import {Observable} from 'rxjs/Observable';
|
||||||
import {CustomOptions} from './servicesUtils/customOptions.class';
|
import {CustomOptions} from './servicesUtils/customOptions.class';
|
||||||
import {HttpClient} from '@angular/common/http';
|
import {HttpClient} from '@angular/common/http';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable({
|
||||||
|
providedIn: "root"
|
||||||
|
})
|
||||||
export class UtilitiesService {
|
export class UtilitiesService {
|
||||||
constructor(private http: HttpClient) {
|
constructor(private http: HttpClient) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue