Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea: add an option for angular compile at runtime #106

Open
figuerres opened this issue Nov 30, 2017 · 1 comment
Open

idea: add an option for angular compile at runtime #106

figuerres opened this issue Nov 30, 2017 · 1 comment
Labels

Comments

@figuerres
Copy link

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.

@dimpu dimpu added the question label Dec 14, 2017
@WuglyakBolgoink
Copy link

@figuerres any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants