Angular 2 Exception: TypeError: Cannot read property 'annotations' of undefined
<p>What am I doing wrong?</p>

<p>app.component.ts</p>



<pre><code>import {Component} from 'angular2/core';
@Component({
  selector: 'my-app',
  template: `{{title}}`
})
export class App {
  title = "Angular 2 beta";
  constructor() { console.clear(); }
}
</code></pre>

<p>main.ts</p>



<pre><code>import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from './app.component';

bootstrap(AppComponent);
</code></pre>

<p>The error is</p>

<pre><code>EXCEPTION: TypeError: Cannot read property 'annotations' of undefined
</code></pre>