No provider for Array
<p>I just started with Angular RC6. I imported HttpModule inside my @NgModule decorator.</p>
<p>However I get this exception: No provider for Array!</p>
<p>How can I fix this?</p>
<p>-- edit--:
For some reason this error is caused by:</p>
<pre><code>constructor(private myService: CustomService, public items: Item[]) { }
</code></pre>