adds a directive to handle the navigation-bar