Angular2: Dynamic Component Loader and injection
<p>I've been experimenting with the dynamic component loader in Angular2.  An issue, possibly related to this:  <a href="https://github.com/angular/angular/issues/4330" rel="nofollow">https://github.com/angular/angular/issues/4330</a>  , seems to be that once a component is loaded with, say, the loadIntoLocation() function, the injector cannot find the parent component's injector or the things that were injected into it.  As that article suggests, you can pass an array of Resolved Providers obtained from the parent's injector (Injector.resolve) into the last parameter of loadIntoLocation().  </p>

<p>This seems to work initially, but I have also found that any <em>children</em> of the dynamically loaded components also have the same problem.  The injector of the children does not know to look up the injection tree for providers, so a standard injection in the constructor of the children like</p>

<pre><code>   constructor( myComponent: MyComponent)
</code></pre>

<p>does not work.  The children (of the dynamically loaded components) are not dynamically loaded but just "normally" instantiated using a template, selector etc.  I am wondering:</p>

<ol>
<li>Is this (still) a known issue or am I misunderstanding anything?</li>
<li>If a known issue is there any workaround at the child level?  I tried a constructor as above and also using @Host and also using forward ref + @host but none work.  Is there another way to manually pass bindings to a component that is not dynamically loaded?</li>
<li>Is there any other possible workaround for this?</li>
</ol>