You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still learning anularjs. I am grateful for your course. Your version is no longer official because in newer versions of angularjs. .succes is no longer available. Now You need to use .then to work.
// Simple GET request example:
$http({
method: 'GET',
url: '/someUrl'
}).then(function successCallback(response) {
// this callback will be called asynchronously
// when the response is available
}, function errorCallback(response) {
// called asynchronously if an error occurs
// or server returns response with an error status.
});
The text was updated successfully, but these errors were encountered:
hey @tstepinski Thank you so much for the update! Can you just fork this project and send me a pull request? It would be great that we'll have you as a contributor.
http://stackoverflow.com/questions/35329384/why-are-angular-http-success-error-methods-deprecated-removed-from-v1-6
I'm still learning anularjs. I am grateful for your course. Your version is no longer official because in newer versions of angularjs. .succes is no longer available. Now You need to use .then to work.
// Simple GET request example:
$http({
method: 'GET',
url: '/someUrl'
}).then(function successCallback(response) {
// this callback will be called asynchronously
// when the response is available
}, function errorCallback(response) {
// called asynchronously if an error occurs
// or server returns response with an error status.
});
The text was updated successfully, but these errors were encountered: