Allow translate directive as element