Anguler2 - Unhandled Promise rejection: No provider for ViewContainerRef! ( In dynamic template )
<p>I am trying to implement dynamic component. 
My requirement is, I have three class- LayoutComponent, MenuService and DynamicService. 
LayoutComponent is used to call the MenuService's method to perform some basic operation, after performing operation, MenuService's method again call to DynamicService's method for creating dynamic component.</p>

<p>Here is my <a href="https://plnkr.co/edit/vZmwHuIV3uCbrZ2pMMYw" rel="noreferrer">Plunker</a> with the following error which it gives</p>

<p><code>Unhandled Promise rejection: No provider for ViewContainerRef! ;</code></p>