Moved navbar to a template.
Created jasmine tests for navbar view.