1

I have my custom decorator like from the tutorial which adds HTML code to a page. But if HTML code contains my custom component it will not be processed by AngularDart. How can I add a processed component from a decorator?

1

1 Answer 1

1

Components can't be added dynamically. Instead, use ng-hide with a bool value to toggle it. Then you can use your decorator to update the value upon your needs.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.