title: Class constructor UpgradeComponent cannot be invoked without 'new' after Update to Angular 10
body: <p>I just started to upgrade an Angular project from 9.1.0 to 10.0.12
  It is still a hybrid app and has couple of components upgraded (from Angular JS) as described in the <a href="https://angular.io/api/upgrade/static/UpgradeComponent" rel="nofollow noreferrer">Angular docs</a></p>
  <p>However after the Update to Angular 10 those upgraded components would not load and result in the following error</p>
  <blockquote>
  <p>Class constructor UpgradeComponent cannot be invoked without 'new' (at new MyUpgradedComponentDirective)</p>
  </blockquote>
  <p>I searched the <a href="https://github.com/angular/angular/blob/master/CHANGELOG.md" rel="nofollow noreferrer">Changelog</a> and didn't found any information regarding UpgradeComponent.</p>