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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -