angular.dart.tutorial
angular.dart.tutorial copied to clipboard
Mention NgRoutingUsePushState in routing/view tutorial
This seems to be the magic line to get it working:
factory(NgRoutingUsePushState, (_) => new NgRoutingUsePushState.value(false));
but the tutorial doesn't mention it, or I missed it.
Since 0.13.0 factory is removed, bind should be used instead :
bind(NgRoutingUsePushState, toValue: new NgRoutingUsePushState.value(false));
And this is a PR to 0.13.0 tutorial upgrade : https://github.com/angular/angular.dart.tutorial/pull/127