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

Mention NgRoutingUsePushState in routing/view tutorial #31

Open
sethladd opened this issue Jan 10, 2014 · 1 comment
Open

Mention NgRoutingUsePushState in routing/view tutorial #31

sethladd opened this issue Jan 10, 2014 · 1 comment

Comments

@sethladd
Copy link
Contributor

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.

@youssefgh
Copy link

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 : #127

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants