Keeping dom manipulation out of controller (angular mantra)