EXCEPTION: No provider for Http! (SomeComponent -> SomeService -> Http)

I am trying to inject a service within a component which uses Http component. I get the above error when i try to inject the Http component within the service. Below is the code for service:

somerservice.ts

import {Injectable} from 'angular2/core';
import {Http, HTTP_PROVIDERS, Headers} from 'angular2/http';


@Injectable()
export class SomeService {

    constructor(private _http: Http){}

    public someMethod(param: string){}

}

And in somecomponent.ts

@Component({

   ...        
  providers:  [SomeService]
   ...

})

What am i missing? Thanks.

1 possible answer(s) on “EXCEPTION: No provider for Http! (SomeComponent -> SomeService -> Http)