Added a custom directive for the nav bar.