Created
August 20, 2015 13:32
-
-
Save daviddt/f99a6e985fdc1d43c808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="../typings/_custom.d.ts" /> | |
import { bootstrap, bind } from 'angular2/angular2'; | |
import { routerInjectables, LocationStrategy, HashLocationStrategy } from 'angular2/router'; | |
import { Spotify } from './services/spotify'; | |
import { App } from './components/app'; | |
var universalInjectables = [ | |
routerInjectables, | |
Spotify, | |
bind(LocationStrategy).toClass(HashLocationStrategy) | |
]; | |
bootstrap(App, [universalInjectables]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment