title: Call platformBrowserDynamic().bootstrapModule(@NgModule) returns ASSERTION ERROR Type passed in is not NgModuleType, it does not have 'ɵmod' property
body: <p>I have an issue with "platformBrowserDynamic().bootstrapModule(app.app_module)" call, the error message is "Uncaught Error: ASSERTION ERROR: Type passed in is not NgModuleType, it does not have 'ɵmod' property".
  However I can see this property during debug precess:
  <a href="https://i.stack.imgur.com/GXG3p.png" rel="noreferrer">AppModule NgModule <strong>proto</strong> emod property</a></p>
  
  <p>app.app_module is a new @NgModule instance bootstrapping my custom app component. I used TypeScript. <strong>Does anybody have any ideas why such case can happen?</strong> </p>
  
  <p>Also additionally here is source JS code <a href="https://gist.github.com/sunnygleason/74e84acd0a03a925ec901594723ce876" rel="noreferrer">https://gist.github.com/sunnygleason/74e84acd0a03a925ec901594723ce876</a> 
  I'm converting it into Typescript Angular CLI project. Here it is
  <a href="https://github.com/AnatoliYatskevich/WIA" rel="noreferrer">https://github.com/AnatoliYatskevich/WIA</a></p>
  
  <p>Particular files I changed are:
  <a href="https://github.com/AnatoliYatskevich/WIA/blob/master/src/main.ts" rel="noreferrer">https://github.com/AnatoliYatskevich/WIA/blob/master/src/main.ts</a>
  <a href="https://github.com/AnatoliYatskevich/WIA/blob/master/src/index.html" rel="noreferrer">https://github.com/AnatoliYatskevich/WIA/blob/master/src/index.html</a>
  <a href="https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.component.ts" rel="noreferrer">https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.component.ts</a>
  <a href="https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.module.ts" rel="noreferrer">https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.module.ts</a></p>
  
  <p>Tool WebStorm, sample formatting from there <a href="https://www.pubnub.com/docs/angular2-javascript/pubnub-javascript-sdk" rel="noreferrer">https://www.pubnub.com/docs/angular2-javascript/pubnub-javascript-sdk</a>.</p>
  
  <p>Thanks</p>