[minor][refactor][stub] breaking out navbar into directive, to dynamically handle messages via IO