puts nav-bar into custom directive