a todo app by rails and angularJs