0
My service is like this:
export class ServicoService {
constructor(private http:Http) { }
public listar() {
return this.http.get('aqui a url')
.toPromise()
.then(response => response.json());
}
}
The code is working correctly, however I would like to give a Feedback to the user saying that the content is being loaded. How do I?