Added navigation controller and directives for nav bar.