Move navbar into directive; add pending tests.