DOM in controllers, ugh. :(  I don't see a way around it though unless you do.