Skip to content

Instantly share code, notes, and snippets.

@softwarejc
Created January 24, 2016 15:38
Embed
What would you like to do?
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