We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4cf496 commit 6ffb16dCopy full SHA for 6ffb16d
Chapter_06/web/main.dart
@@ -15,6 +15,8 @@ import 'package:angular_dart_demo/component/search_recipe_component.dart';
15
16
class MyAppModule extends Module {
17
MyAppModule() {
18
+ Binding.printInjectWarning = false; // needed for https://github.com/angular/angular.dart/issues/1272
19
+
20
bind(RecipeBookController);
21
bind(RatingComponent);
22
bind(Tooltip);
@@ -23,8 +25,7 @@ class MyAppModule extends Module {
23
25
bind(ViewRecipeComponent);
24
26
bind(QueryService);
27
bind(RouteInitializerFn, toValue: recipeBookRouteInitializer);
- bind(NgRoutingUsePushState, toFactory:
- (_) => new NgRoutingUsePushState.value(false));
28
+ bind(NgRoutingUsePushState, toValue: new NgRoutingUsePushState.value(false));
29
}
30
31
0 commit comments