From be902f46035b0ea9464eafd12eb4470316ec82fe Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 9 Apr 2014 21:30:30 -0700 Subject: [PATCH] fix(ng-view): correct infinite loop in RouteProvider injection --- lib/routing/ng_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routing/ng_view.dart b/lib/routing/ng_view.dart index 31cc953ff..be507a9ca 100644 --- a/lib/routing/ng_view.dart +++ b/lib/routing/ng_view.dart @@ -62,7 +62,7 @@ part of angular.routing; class NgViewDirective implements NgDetachAware, RouteProvider { static final Module _module = new Module() ..factory(RouteProvider, - (i) => i.get(RouteProvider), + (i) => i.get(NgViewDirective), visibility: NgDirective.CHILDREN_VISIBILITY); static module() => _module;