Angular2 - 'Can't resolve all parameters' error while injecting http into a custom service Angular2 - 'Can't resolve all parameters' error while injecting http into a custom service angular angular

Angular2 - 'Can't resolve all parameters' error while injecting http into a custom service


@Injectable() // <<<=== required if the constructor has parameters export class ErrorHandlerLogger extends ErrorHandler {