Workaround for https://github.com/mgonto/restangular/issues/658