This source code provides example for todolist in cordova app.