title: http.get() does not return an observable
body: <p><strong><em>NOTE: The problem is definetly the ionViewDidLoad() not being executed cause the http.get does get an observable.</em></strong>
  I'm trying to get the observable when executing a request in order to get its <strong>json</strong> response later but I don't get an error, and nothing is displayed in the browser's console either. I don't know why it does not return anything.</p>
  
  <p>I have tried many urls and checked many times the imports. 
  <a href="https://i.stack.imgur.com/bJzxh.png" rel="nofollow noreferrer">console.log not pasting the data</a>
  home.page.ts</p>
  
  <pre><code>
      import { ServicioService } from '../servicio.service';
      import { Observable } from 'rxjs';
      import { HttpClient } from '@angular/common/http';
      ...
      ionViewDidLoad(){
            const hola = this.servicio.goWiki(this.userInput).
            subscribe((response) =&gt; {
              console.log(response);
             });
          }
  
  </code></pre>
  
  <p>servicio.service.ts</p>
  
  <pre><code>
      import { Injectable } from '@angular/core';
      import { map } from 'rxjs/operators';
      import { HttpClient } from '@angular/common/http';
      import { Observable } from 'rxjs';
  
      @Injectable()
      export class ServicioService {
  
          constructor(public http: HttpClient) {
              console.log('goin!');
          }
  
          goWiki(userInput): Observable&lt;any&gt;{
              return this.http.get('https://www.reddit.com/r/gifs/top/.json?limit=105sort=hot');
          }
  
  </code></pre>
  
  <p>app.module.ts</p>
  
  <pre><code>
      import { ServicioService } from './servicio.service';
      import { HttpClientModule } from '@angular/common/http';
  
      imports: [HttpClientModule, BrowserModule, IonicModule.forRoot(), AppRoutingModule, ComponentesModule],
        providers: [
          ServicioService,...
  
  </code></pre>
  
  <p>I just hope to get an observable to be able to read it and extract specific data from it.</p>