Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {path: "product/:id" }
- routerLink="/product/30"
- import {Router, ActivatedRoute} from '@angular/router';
- this.activatedroute.params.subscribe(params => {
- console.log(params, params['rowid']);
- this.id = params['rowid']
- }
- });
Add Comment
Please, Sign In to add comment