menu buttons controller -> directive