Unit tests: navbarControllerSpec.js. Also Creating Mocks. There is a service that mocks all services, so it can be reused from every test. Also there is a mocked-data.json that will be used in order to have a unique single point were is all data for testing.