AngularJS error .success is not a function

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.

Leave a Comment