Can you give more precision ? If your talking about the $http().error() function, yes it has been deprecated in angular 1.4.
Is that true or it's old news?Thanks
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/pU8sW45XZxo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
--
$http
legacy promise methods success
and error
have been deprecated. Use the standard then
method instead. If$httpProvider.useLegacyPromiseExtensions
is set to false
then these methods will throw $http/legacy
error.Hi
Maybe the second method of the then method. Or catch ?
Manu
@EmmanuelDemey
Hi Mark,
change .success
in .then
and .error
in .catch
. and done.
Regards
Sander
--
Mark,
The benefit is that you are no longer using depreciated api-calls.
try: deferred.resolve(data.data);
Regards
Sander
--