Reapplying an Angular Directive on DOM Changes

We needed to project HTML content loaded from the database into a component. Each time the content changes we need to add some behavior to that external content, i.e. add a class to every anchor tag. We want this behavior to be added by an Angular Directive. But a Directive will not be re-executed unless …

Reapplying an Angular Directive on DOM Changes Read More »