diff options
Diffstat (limited to 'app/bootstrap.ts')
-rw-r--r-- | app/bootstrap.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/bootstrap.ts b/app/bootstrap.ts new file mode 100644 index 0000000..b3303f3 --- /dev/null +++ b/app/bootstrap.ts @@ -0,0 +1,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 }) +]); |