Todo list manager using rails and angularjs