From 5310ac7d8eb1838a6297117bc7f9fca70291f46a Mon Sep 17 00:00:00 2001 From: Alex Tatiyants Date: Sun, 3 Jan 2016 17:17:48 -0800 Subject: initial commit --- app/bootstrap.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/bootstrap.ts (limited to 'app/bootstrap.ts') 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 }) +]); -- cgit v1.2.3