Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit be902f4

Browse files
committed
fix(ng-view): correct infinite loop in RouteProvider injection
1 parent 0ebb49f commit be902f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routing/ng_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ part of angular.routing;
6262
class NgViewDirective implements NgDetachAware, RouteProvider {
6363
static final Module _module = new Module()
6464
..factory(RouteProvider,
65-
(i) => i.get(RouteProvider),
65+
(i) => i.get(NgViewDirective),
6666
visibility: NgDirective.CHILDREN_VISIBILITY);
6767
static module() => _module;
6868

0 commit comments

Comments
 (0)