So basically I need to add custom auth header to all requests referred to API. In constructor I want to add this header and then in the class methods just use this.http
import { Injectable } from '@angular/core';
import { Config, Events } from 'ionic-angular';
import { Http } from '@angular/http';
@Injectable()
export class APIRequest {
constructor (
private http: Http,
private config: Config,
) {
this.http.headers.append('My-Custom-Header','MyCustomHeaderValue');
}
}