Dependency injection in Angular 2 when a constructor has arguments
<p>I have a typescript class representing a model and I would like instances to communicate with an API via angular's <code>Http</code> service. </p>

<p>But the constructor of the model needs arguments when creating instances. For example something super simple: </p>

<pre><code>class SomeModel{
    constructor(public id:number, public name:string, ){
    }
</code></pre>

<p>I would like to inject the <code>Http</code> service so it is available to my instances, but it seems like the canonical way to do this commandeers the constructor with:</p>

<pre><code>constructor(http:Http)
</code></pre>

<p>I've been digging through the <code>Injector</code> docs, but it's a little sparse and I haven't found anything that works. Is there a way to get a reference to a service like <code>Http</code> from the DI system without using the constructor pattern?</p>