updated todos controller and todos server, added new directive nav-bar and