Skip to content

Instantly share code, notes, and snippets.

@softwarejc
Created January 24, 2016 15:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save softwarejc/4f1879c8b360a22fa87c to your computer and use it in GitHub Desktop.
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