this can be done via directive template attribute with ```replace: True```