angular - Change href to routerLink for dynamically loaded content in angular4 -


i'm creating admin interface site can write article. in editor, can create links end a[href] in html code of article.

when load article , insert content page, links still using href (as should) means internal links reload full page , don't use angular router.

how "compile" dynamic content tell angular transform "href" "routerlink" ?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -