Ward Bell 0c1d7ca3cb docs(router): new chapter
Ward and Jeremy
Todo: EXCLUDE Old router doc for reference while re-writing
2015-12-15 11:35:11 -08:00

23 lines
527 B
TypeScript

/* First version */
// #docplaster
// #docregion all
import {AppComponent} from './app.component';
import {bootstrap} from 'angular2/platform/browser';
import {ROUTER_PROVIDERS} from 'angular2/router';
// #enddocregion all
/* Can't use AppComponent ... but display as if we can
// #docregion all
bootstrap(AppComponent, [
// #enddocregion all
*/
// Actually use the v.1 component
import {AppComponent as ac} from './app.component.1';
bootstrap(ac, [
// #docregion all
ROUTER_PROVIDERS,
]);
// #enddocregion all