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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -