Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

How to redirect to the previous/next page in Angular

//will lead you back
window.history.back();

//will lead you up..
this.router.navigate( '../' );
 
PREVIOUS NEXT
Tagged: #How #redirect #page #Angular
ADD COMMENT
Topic
Name
5+2 =