Open cprakashb opened 5 years ago
this.url = 'http://localhost:3000/products'; return this.http.get(this.url);
can be written as return this.http.get('http://localhost:3000/products');
this.url = 'http://localhost:3000/products'; return this.http.get(this.url);
can be written as return this.http.get('http://localhost:3000/products');