2016-05-02 16:53:25 -07:00
|
|
|
/* First version */
|
|
|
|
// #docplaster
|
|
|
|
|
|
|
|
// #docregion all
|
2016-05-05 12:59:18 +02:00
|
|
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
|
|
|
import { ROUTER_PROVIDERS } from '@angular/router-deprecated';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
2016-05-02 16:53:25 -07: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
|
2016-06-08 01:06:25 +02:00
|
|
|
import { AppComponent as ac } from './app.component.1';
|
2016-05-02 16:53:25 -07:00
|
|
|
bootstrap(ac, [
|
|
|
|
// #docregion all
|
|
|
|
ROUTER_PROVIDERS
|
|
|
|
]);
|
2016-05-05 12:59:18 +02:00
|
|
|
// #enddocregion all
|