Changing to angular 1.6.7 causing error
this.socialLogin= function (key) {
var jsonToSend = {
'access_token': key,
};
return $http.post(Config.apiUrl + '/api/v1/social/', jsonToSend).then(function (response) {
return response.data;
}, function (response) {
return $q.reject(response.data);
});
};
here the sample code,
tried
$qProvider.errorOnUnhandledRejections(false);
it is just masking the error