See ‘Deprecation Notice‘ from $http service documentation:
The $http legacy promise methods success and error have been
deprecated. Use the standard then method instead.
You can learn more about these methods in the documentation about $q.
See ‘Deprecation Notice‘ from $http service documentation:
The $http legacy promise methods success and error have been
deprecated. Use the standard then method instead.
You can learn more about these methods in the documentation about $q.