ngx-md
ngx-md copied to clipboard
idea: add an option for angular compile at runtime
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 any news?