replaced @extend to parent directive.