Fixes #2493 No need to dual boot `AppComponent` and `ProvidersComponent` only to ensure that we could demo optional injection; instead just inject null for the `@Optional` constructor parameter type. No prose is affected by these changes.
10 lines
205 B
Dart
10 lines
205 B
Dart
import 'package:angular2/platform/browser.dart';
|
|
|
|
import 'package:dependency_injection/app_component.dart';
|
|
|
|
void main() {
|
|
//#docregion bootstrap
|
|
bootstrap(AppComponent);
|
|
//#enddocregion bootstrap
|
|
}
|