Angular 2 Dynamic Component loading ngOnChanges lifecycle hook call
<p>Is it expected behavior that ngOnChanges lifecycle hook is not called in case of dynamic component loading?
Only the constructor, ngOnInit and ngAfterViewInit are called for me. However according to the <a href="https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html" rel="noreferrer">docs</a> it should be called before ngOnInit.</p>

<p>I am loading the component like this:</p>

<pre class="lang-js prettyprint-override"><code>@ViewChild('place', { read: ViewContainerRef }) container: ViewContainerRef;

   private componentRef: ComponentRef&lt;MyLoggerComponent&gt;;

   constructor(private componentFactoryResolver: ComponentFactoryResolver) { }

   ngAfterViewInit() {
     const componentFactory: ComponentFactory&lt;any&gt; = this.componentFactoryResolver.resolveComponentFactory(MyLoggerComponent);
     this.componentRef = this.container.createComponent(componentFactory);
     this.componentRef.changeDetectorRef.detectChanges();
   }
</code></pre>

<p><a href="http://plnkr.co/edit/6GA6F6wrnUVs1P6KQVHx" rel="noreferrer">Plunker</a></p>