Change to use directive

use directive for menu