using ngResource
Merge https://github.com/misho92/Todo