Open
Description
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.
});
Metadata
Metadata
Assignees
Labels
No labels