import {Inject, Injectable, InjectionToken} from '@angular/core';
export const END_POINTS = new InjectionToken('END_POINTS');
@Injectable()
export class API {
private readonly _baseUrl = environment.BASE_URL;
endPoints: EndPoints;
constructor(@Inject(END_POINTS) private _endPoints) { }
}