Made a directive for the navbar