Extracted navbar into directive