Error status codes are not being caught
问题 I am trying to catch angular resource's HTTP error status code (!=200). My Service, where I have resources defined: (apiService.js) .factory('ApiService', function($resource, $http, localStorageService, CONFIG) { var base_api_url = api_url = CONFIG.api_url, api_version_prefix = CONFIG.api_version_prefix; return { userDevices: $resource(api_url+'/requestRegistration/userDevices/:action', {}, { registerDevice: { method: 'POST', params: { action: '' } }, verify: { method: 'POST', params: {