an angularJs todo list prototype