Ajax is used for creating asynchronous web applications that get and store data from server without postbacks.
In AngularJS $http object is used for get and post data from the server.
$http use asynchronous techniques for interacting with server. A $http object returns a Promise object.
A promise object represent a value that is not yet available. Its provides a then()...