Adding nav directive and other directives