Simple Todo App using angular-js and postgres