title: Issue in global injector while importing feature effect [Angular 9]
body: <p>I am facing an issue while importing an effect to feature module.
   <em>Cannot read property 'get' of undefined</em> error occurs in global injector.</p>
  
  <p>Following is what I am doing for base service.</p>
  
  <p>`</p>
  
  <pre><code>import { Injectable } from "@angular/core";
  import { AppInjector } from "@app/app-injector.service";
  import { StorageService } from "../storage";
  
  @Injectable({
    providedIn: "root",
  })
  export class BaseService {
    protected storage: StorageService;
    protected http: HttpClient;
  
    constructor() {
      this.storage = AppInjector.injector.get(StorageService);
      this.http = AppInjector.injector.get(HttpClient);
    }
  }
  </code></pre>
  
  <p>`</p>