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

@ -4,7 +4,7 @@ Bootstrapping
@description
{@target ts}`import {bootstrap} from 'angular2/platform/browser';`{@endtarget}
{@target js}Available from the `ng.platform.browser` namespace{@endtarget}
{@target dart}`import 'package:angular2/bootstrap.dart';`{@endtarget}
{@target dart}`import 'package:angular2/platform/browser.dart';`{@endtarget}
@cheatsheetItem
syntax(ts dart):