diff --git a/services/utilities.service.ts b/services/utilities.service.ts index 606a56b1..6da5b574 100644 --- a/services/utilities.service.ts +++ b/services/utilities.service.ts @@ -3,7 +3,9 @@ import {Observable} from 'rxjs/Observable'; import {CustomOptions} from './servicesUtils/customOptions.class'; import {HttpClient} from '@angular/common/http'; -@Injectable() +@Injectable({ + providedIn: "root" +}) export class UtilitiesService { constructor(private http: HttpClient) { }