}, () => {
         this.router.navigate(['social-register'], {queryParams: {'success': 'false'}});
 });
	startDeposit(): void {
		this.router.navigate(['/account/' + this.account._id + '/deposit']);
	}
 private _postSignIn(): void {
   this._router.navigate(['']);
 }
 public goToDropDown() {
     this._router.navigate(["/dd"]);
 }
 navigateTo(routerKey: string) {
   this.router.navigate([routerKey]);
 }
 ngOnInit() {
     this.auth.logout();
     this.router.navigate(['/']);
 }
 gotoHeroes() {
   let heroId = this.hero ? this.hero.id : null;
   // Pass along the hero id if available
   // so that the HeroList component can select that hero.
   this.router.navigate(['/heroes'], { queryParams: { id: heroId, foo: 'foo' } });
 }
Beispiel #8
0
 onClick () {
   this.router.navigate(['/component-two', 456]);
 }
	goAcademyHome()
	{
		console.log("### Going to Academy Home...");
		this.router.navigate(['/academyHome', {}]);
	}
Beispiel #10
0
 onCancel() {
   this.router.navigate(['../', 'view'], { relativeTo: this.route });
 }