angular2 routing - Angular 2 Multiple router params -


assuming wish have following url:

myurl.com/data/11-20-84-2 

and each number appears in url router param can use component.

is possible?

the following didn't work:

{ path: 'view-score/:score-:number', 

this should want:

{ path: 'view-score/:score/:number', 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -