How to use questionmark in URl using angular 2

Viewed 2062

I am new in Angular 2 Here, shown code for router where my url would be display. Router Code Now, When I run that code the url look like this..

localhost:50465/promotion%3Fid%3D/51059

In that url display %3F instad of question mark(?) and %3D instead of equalto(=) .show how to get display my original url. my codelook like that.

I want to output like this : http://localhost:50465/promotion?id=132

how can acheive this please help me.

please help me..!!

1 Answers
Related