Change REST services to use $resource and promises