add navBox directive