I have a setup like this:
- Controller
c
broadcasts evente
- Directive
d
listens fore
, and one
, writes to the DOM via append, and in so doing, creates new elements specifying a directived2
.
IE: element.append('<directiveTwo ...>')
- Directive
two
is never called by Angular - When I inspect the DOM (and debug) I see that Controller
c
and directived
are doing their jobs, and I have newdirectiveTwo
elements.
What is missing? What needs to be done to trigger the directive 2
call after dynamically creating those elements?