I am new to Angular 2. I was going through this link , which mentions different ways of writing route links.
1. <a [routerLink]="[ '/path', routeParam ]">
2. <a [routerLink]="[ '/path', { matrixParam: 'value' } ]">
3. <a [routerLink]="[ '/path' ]" [queryParams]="{ page: 1 }">
4. <a [routerLink]="[ '/path' ]" fragment="anchor">
I am only aware of the 1st type of route , can anyone explain about the other three