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
Post a Comment