By using Http, we call a method that does a network call and returns an http observable:
getCustomer() { return
Per @Cristian suggestion, this is one way that works well for HTTP observables, that only emit once and then they complete:
getCustomer() { return this.http.get('/someUrl') .map(res => res.json()).publishLast().refCount(); }