add custom directive for menu