2015-12-10 09:40:54 -08:00
|
|
|
/* First version */
|
|
|
|
// #docplaster
|
|
|
|
|
|
|
|
// #docregion all
|
|
|
|
import {AppComponent} from './app.component';
|
2016-04-27 11:28:22 -07:00
|
|
|
import {bootstrap} from '@angular/platform-browser-dynamic';
|
|
|
|
import {ROUTER_PROVIDERS} from '@angular/router-deprecated';
|
2015-12-10 09:40:54 -08:00
|
|
|
|
|
|
|
// #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
|
2015-12-31 16:55:53 -08:00
|
|
|
ROUTER_PROVIDERS
|
2015-12-10 09:40:54 -08:00
|
|
|
]);
|
|
|
|
// #enddocregion all
|