This is here so that the inner ngDirectiveOn directives are rendered before the template is injected.