No suitable injection token for parameter 'http' code example
Example 1: No suitable injection token for parameter 'path' of class 'BaseModel'
Update the Constructor
//import { Inject } from '@angular/core';
constructor(@Inject(String) private url: string, private http: Http)
Example 2: ng2003
//import { Inject } from '@angular/core';
constructor(@Inject(String) private url: string, private http: Http)