1
votes

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 Answers

1
votes

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.