-
-
Save softwarejc/4f1879c8b360a22fa87c 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
import {bootstrap} from 'angular2/platform/browser' | |
import {HTTP_PROVIDERS} from 'angular2/http'; | |
import {Hello} from './hello/hello.component'; | |
import 'rxjs/Rx' | |
// Bootstrap Angular2 | |
bootstrap(Hello, [HTTP_PROVIDERS]).then( | |
success => console.log('app bootstrapped...'), | |
error => console.log(error) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment