using ngResource for Rollbar response