The directory contains code authored in a style that makes it transpilable to dart. As such, these are not idiomatic examples of Angular 2 usage. The main purpose of this directory is to enable experimentation with Angular within the angular/angular repository. Closes #4342 Closes #4639
8 lines
197 B
TypeScript
8 lines
197 B
TypeScript
import {bootstrap} from 'angular2/bootstrap';
|
|
import {HTTP_PROVIDERS} from 'angular2/http';
|
|
import {HttpCmp} from './http_comp';
|
|
|
|
export function main() {
|
|
bootstrap(HttpCmp, [HTTP_PROVIDERS]);
|
|
}
|