I just started with Angular RC6. I import the HttpModule inside my @NgModule decorator.
However, I get this exception: There is no provider for Array!
How can i fix this?
- edit--: For this reason, this error is caused by:
constructor(private myService: CustomService, public items: Item[]) { }
source
share