Where are those elements located? Referring to elements by their ids in directives' link functions doesn't sound good.