navbar directive is passing jasmine test