DEV Community

ahmedrazaa
ahmedrazaa

Posted on

is there anyone who can tell me How to get component value on index.html template in angular 8??

Basically scenario is that i am getting url parameter value in my home component and now i want to use this value on my index.html page....so i don't know how i can do this i couldn't find any help from google.

kindly help me to do this.Thanks in advance.

Top comments (1)

Collapse
 
leobm profile image
Felix Wittmann • Edited

Outside Angular ? what do you want to do with the value? To modify the DOM ?
Or do you want to call a JS function outside of Angular ?