AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records.
How to use?
1. you need to inject $http into your controller.
2. you need to fire a method. There are several shortcut methods of the $http service:-
To get the data you need to use .get() method. For example-