fixed bug where transcluded inner directives were still firing while unshown (flickering in and then going out)