2016-04-13 08:21:32 -07:00
|
|
|
// #docplaster
|
|
|
|
// #docregion
|
2016-04-27 11:28:22 -07:00
|
|
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
2016-04-13 08:21:32 -07:00
|
|
|
// #docregion http-providers
|
2016-04-27 11:28:22 -07:00
|
|
|
import { HTTP_PROVIDERS } from '@angular/http';
|
2016-04-13 08:21:32 -07:00
|
|
|
// #enddocregion http-providers
|
2015-12-01 12:15:14 +01:00
|
|
|
|
|
|
|
// #docregion import-rxjs
|
|
|
|
// Add all operators to Observable
|
|
|
|
import 'rxjs/Rx';
|
|
|
|
// #enddocregion import-rxjs
|
|
|
|
|
2016-05-13 13:32:54 -07:00
|
|
|
import { TohComponent } from './toh/toh.component';
|
2016-04-13 08:21:32 -07:00
|
|
|
import { WikiComponent } from './wiki/wiki.component';
|
|
|
|
import { WikiSmartComponent } from './wiki/wiki-smart.component';
|
2015-12-01 12:15:14 +01:00
|
|
|
|
2016-04-13 08:21:32 -07:00
|
|
|
// #docregion http-providers
|
|
|
|
bootstrap(TohComponent, [HTTP_PROVIDERS]);
|
|
|
|
// #enddocregion http-providers
|
2016-05-13 13:32:54 -07:00
|
|
|
bootstrap(WikiComponent);
|
|
|
|
bootstrap(WikiSmartComponent);
|