blob: b3303f35cb641245a6d2ab7e7d24bf5a076af996 (
plain)
1
2
3
4
5
6
7
8
9
|
import {provide} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
import {ROUTER_PROVIDERS, LocationStrategy, HashLocationStrategy} from 'angular2/router';
import {App} from './components/app/app';
bootstrap(App, [
ROUTER_PROVIDERS,
provide(LocationStrategy, { useClass: HashLocationStrategy })
]);
|