Add navbar directive.