1

I'm using Angular-9. In a Grid, I'm building a Link as below:

<a [routerLink]="['/assortmentplanning/planmanagement/open-plan', data.name, data.channelName]">
   {{data.name}}
</a>

I want to Encode the URL Parameters and Decode in receiving Component. How to do this in Angular?

Unknown Coder
  • 1,510
  • 2
  • 28
  • 56
  • https://stackoverflow.com/questions/55420376/encode-string-for-url-angular here are some hints which may point you into the right direction. – sehe Oct 13 '20 at 11:19
  • Does this answer your question? [Encode string for URL (angular)](https://stackoverflow.com/questions/55420376/encode-string-for-url-angular) – R. Richards Oct 13 '20 at 11:28
  • @R.Richards No.. It's not working for me. – Unknown Coder Oct 13 '20 at 12:02

0 Answers0