refactor directive transclusion collision