Ward Bell 393987bdf5 docs: split intro into separate chapters, shuffle code, update to alph52
closes #483
A major refactoring of the intro chapters includes text revision
and the addition of "module" as an 8th "basic building block".
Incorporates John Papa feedback.
2015-12-12 09:46:07 -08:00

13 lines
329 B
TypeScript

// #docregion import
import {Component} from 'angular2/core';
// #enddocregion import
import {HeroListComponent} from './hero-list.component';
@Component({
selector: 'my-app',
template: '<hero-list></hero-list>',
directives: [HeroListComponent]
})
// #docregion export
export class AppComponent { }
// #enddocregion export