converting TodoService.getTodos to use $http
mapping getTodos $http response to an array with $id properties
converting TodoService.addTodo to use $http
converting TodoService.removeTodos to use $http
converting TodoService.saveTodo to use $http
Creating $resource factory for Todo with all CRUD operations, converting MainController to use this