@elemoine  what do you think about this? I move the controller in the directive, I like the way to keep separate HTML DOM modification and logic.