diff options
author | Alex Tatiyants <atatiyan@gmail.com> | 2016-01-03 17:17:48 -0800 |
---|---|---|
committer | Alex Tatiyants <atatiyan@gmail.com> | 2016-01-03 17:17:48 -0800 |
commit | 5310ac7d8eb1838a6297117bc7f9fca70291f46a (patch) | |
tree | 28f54b184cb85f04e6d6720dd03258f3728fedde /app/bootstrap.ts |
initial commit
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 }) +]); |