Что я делаю неправильно?
app.component.ts
import {Component} from 'angular2/core';
@Component({
selector: 'my-app',
template: `{{title}}`
})
export class App {
title = "Angular 2 beta";
constructor() { console.clear(); }
}
main.ts
import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from './app.component';
bootstrap(AppComponent);
Ошибка
EXCEPTION: TypeError: Cannot read property 'annotations' of undefined