Made navbar a directive