title: angular 6 APP_INITIALIZER
body: <p>I have successfully implemented an angular 6 APP_INITIALIZER inside the AppModule.
  The basic idea is, I need to load some user authorization information along with some other details before I run the application. All works well.</p>
  
  <p>However, now I need to add a user-registraion section that requires no information from the backend server (and these calls will fail).</p>
  
  <p>I tried to move all the code for APP_INITIALIZER into a submodule bascially figuring that I only need the piece to run once that module is loaded. however that code never executes.</p>
  
  <p>Perhaps I am using  APP_INITIALIZER wrong?</p>