RestAngular added and ResourceService.js from the old repo is included here but still not refactored.