adding navbar directive