NG2003: No suitable injection token for parameter 'url' of class 'DataService'. angular 9 dataservice code example
Example: 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)