Angular - Services and Dependency Injection
You have an Angular service declared as:
What issue arises if you want this service to be a singleton but do not specify
@Injectable()
export class AuthService {}What issue arises if you want this service to be a singleton but do not specify
providedIn or add it to a module's providers?