I have a child directive that is quite dynamic running in a TypeScript AngularJS application. The template and the controller are attached at runtime based on what it needs to do for a given situation and the template itself contains a number of directives. I need to be able to show multiple directives on the page, so I use an isolated scope between each one. I have another directive that's responsible for keeping track which of these child directives should be on the page at any given time (referred to as the parent directive).I have a child directive that is quite dynamic