I have 3 services:
auth.service.ts, account.service.ts, http.service.ts
While user signup I should create new account therefore
@deprecated from v4.0.0 use Type or InjectionToken
const auth = this.injector.get(AuthService);
Works on Angular 10:
const AuthService = this.injector.get(AuthService);