title: Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory'
body: <p>I get this below error after upgrading my angular-cli </p>
  
  <pre><code>ERROR in Template parse errors:
  Can't bind to 'index' since it isn't a known property of 'tag'. ("own)="handleKeydown($event, item)"
               (onTagEdited)="onTagEdited.emit(item)"
               [ERROR -&gt;][index]="i"
               [attr.tabindex]="readonly ? -1 : 0"
               [class.readonly]="readonly""): TagInputComponent@16:13
  
  ERROR in ./src/main.ts
  Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'D:\xxxx\yyyy\eeeee\eeee\src'
   @ ./src/main.ts 5:0-74
   @ multi ./src/main.ts
  </code></pre>
  
  <p>This error happens when i run <code>ng build --prod</code> and works fine when i run <code>ng build</code> without any parameters, </p>