SyntaxFix
Write A Post
Hire A Developer
Questions
In Angular2 Rc1 you can inject RouteSegment and pass them in naviagte method.
constructor(private router:Router,private segment:RouteSegment) {} ngOnInit() { this.router.navigate(["explore"],this.segment) }