feat(dart/transform): Use angular2/platform/browser as bootstrap lib

Update the Angular 2 transformer to recognize
`package:angular2/platform/browser.dart` as the library which exports
the `bootstrap` function.

Update playground, examples, benchmarks, & tests to import bootstrap from
platform/browser.

Closes #7647
This commit is contained in:
Tim Blasi
2016-03-17 12:49:46 -07:00
committed by Timothy Blasi
parent c194f6695d
commit b6507e37ef
77 changed files with 130 additions and 88 deletions

View File

@ -1,5 +1,5 @@
import {provide} from 'angular2/core';
import {bootstrap} from 'angular2/bootstrap';
import {bootstrap} from 'angular2/platform/browser';
import {UrlResolver} from 'angular2/compiler';
var MyApp: any;