title: Angular : No Error but not showing data in View
body: <p>I have very simple code which using Github API. I have no error in my console but data coming to my console but not able to display in View. Somebody, please help me. I am not able to figure it out.</p>
  
  <p>Service Class:</p>
  
  <pre><code>import {
      Injectable
  } from '@angular/core';
  import {
      Http
  } from '@angular/http';
  import 'rxjs/Rx';
  
  @Injectable()
  export class GithubService {
      constructor(private http: Http) {}
      getUser(searchKey) {
  
          const url = 'https://api.github.com/search/users?q=' + searchKey;
          return this.http.get(url).map(res =&gt; res.json())
      }
  }
  </code></pre>
  
  <p>Method I am calling inside Component.</p>
  
  <pre><code>getUser(value) {
      return this.gitHubService.getUser(value)
          .subscribe(results =&gt; {
              this.results = this.results;
              console.log(value);
              console.log(results);
  
          });
  }
  </code></pre>
  
  <p>and This Is my view html.</p>
  
  <pre><code>&lt;div&gt;
      &lt;br /&gt;&lt;br /&gt;
      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Enter Value: &lt;input type="text" [(ngModel)]="searchKey"&gt;
      &lt;button (click)="getUser(searchKey)"&gt;Search&lt;/button&gt;
      &lt;ol&gt;
          Data:
          &lt;ul *ngFor="let result of results"&gt;
              {{result.login}} {{result.html_url}}
          &lt;/ul&gt;
      &lt;/ol&gt;
  &lt;/div&gt;
  </code></pre>