ngx-md icon indicating copy to clipboard operation
ngx-md copied to clipboard

idea: add an option for angular compile at runtime

Open figuerres opened this issue 6 years ago • 1 comments

not sure if this would over complicate things but here goes: look at the plunker code refered to here: Question about dynamic elements

and make an optional attribute / directive or setting that would run the html thru the angular compiler and then put that in the page. then markup like <a routerLink="" could be used in the markdown / html and they will work with angular. an app could opt in to use it if wanted or not.

the issue i have had with this is that if the html is not 100% valid to the angular compiler it fails to render and i have not found a way to catch the error and tell the user about it. it seems to all happen in the core where i can't catch it.

figuerres avatar Nov 30 '17 19:11 figuerres

@figuerres any news?

WuglyakBolgoink avatar Oct 30 '18 08:10 WuglyakBolgoink