title: Angular 2: TypeError: l_thing0 is undefined in [{{thing.title}} in AppComponent@4:44]
body: <p>I'm getting a strange error in my app. It's supposed to print out <code>{{thing.title}}</code> from an object, but it shows an error in the console:</p>
  
  <pre><code>EXCEPTION: TypeError: l_thing0 is undefined in [{{thing.title}} in AppComponent@4:44]
  </code></pre>
  
  <p>I'm not sure where <code>l_thing0</code> is coming from. If I try to show <code>{{thing}}</code>in the page, it displays <code>[object Object]</code>. If I try to <code>JSON.stringify(this.thing)</code> (see the <code>showObj()</code> function), it correctly displays the stringified object. But if I try to access an attribute like <code>{{thing.title}}</code> I get the error that <code>l_thing0</code> is undefined.</p>
  
  <p>Here is app.component.ts:</p>
  
  <pre><code>import {Component, OnInit} from 'angular2/core';
  import {Thing} from './thing';
  import {ThingService} from './thing.service';
  import {SubThingComponent} from "./subthing.component";
  
  @Component({
      selector: 'thing-app',
      template: `
          &lt;div class="container"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-md-12"&gt;
                      &lt;h1&gt;{{thing.title}} &lt;a href="#" (click)="showObj()" class="btn btn-default"&gt;Show Stringified Obj&lt;/a&gt;&lt;/h1&gt;
                      &lt;subthing&gt;&lt;/subthing&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      `,
      styles:[`
  
      `],
      directives: [SubThingComponent],
      providers: [ThingService]
  })
  
  export class AppComponent implements OnInit {
  
      constructor(private _thingService: ThingService) { }
  
      public thing: Thing;
  
      showObj() {
          // This correctly shows the stringified object
          alert(JSON.stringify(this.thing));
      }
  
      getThing() {
          this._thingService.getThing().then(thing =&gt; this.thing = thing);
          // This correctly logs the object
          setTimeout(() =&gt; {console.log('thing', this.thing)}, 5000);
      }
  
      ngOnInit() {
          this.getThing();
      }
  }
  </code></pre>
  
  <p>Any ideas?</p>