Angular 2 - Beta 7

Many Angular 2 examples online are outdated. I have a mixed feelings for Angular 2 syntaxes, and hopefully it doesn’t deviate much in the upcoming versions.

COMMON_DIRECTIVES

Directives: NgClass, NgStyle, NgIf, NgSwitch, NgFor

Error (StackOverFlow): Can't bind to 'ng-forOf' since it isn't a known native property
Github - Typings

Because I was using *ng-for, it was changed to *NgFor.

import {COMMON_DIRECTIVES} from 'angular2/common';
@Component({
  selector: 'name-list'
})
@View ({
    directives:[COMMON_DIRECTIVES],
    template: `
        <ul>
            <li *ngFor="#name of names"></li>
        </ul>
    `
})
export class NameList {
    names:string[] = ['John','Ellen','Aida'];
}