After my console.log in Angular 5 service call to the component, I can see the correct data URL being displayed
http://localhost:4200/inquiry?UserID=645
However, when it is inside an Angular for loop in the HTML template, it displays
http://localhost:4200/inquiry%3FUserID%3D645
At the very least, I need the ?
to remain intact for routing purposes.
I am looking for a way to decode URLs. How can I achieve this in the component TypeScript or within the HTML template using ngFor loop and possibly a pipe?