Made directive completely reusable and implemented it on both nav and server list.