angular/route.dart — pull request #43 by paweld2 (2014-04-28 11:39:30+00:00)
Title: Nested scope is destroyed 2 times because of nesting routing leave order

I get this error.
Nested scope is destroyed 2 times because of nesting routing leave order:

#0 Scope.destroy (package:angular/core/scope.dart:295:12)
#1 NgView._cleanUp (package:angular/routing/ng_view.dart:141:19)
#2 NgView._show.(package:angular/routing/ng_view.dart:114:15)

The reason is that parent routing leave is detaching the ng-view.

With the current implementation the test is failing with:
FAIL: leave should leave previous route and enter new
Expected: '|fooPreEnter|barPreEnter|fooEnter|barEnter|bazPreEnter|barLeave|bazEnter|otherPreEnter|bazLeave|fooLeave|otherEnter'
Actual: '|fooPreEnter|barPreEnter|fooEnter|barEnter|bazPreEnter|barLeave|bazEnter|otherPreEnter|fooLeave|bazLeave|otherEnter'
Which: is different.
Expected: ... rPreEnter|bazLeave|f ...
Actual: ... rPreEnter|fooLeave|b ...