Covers AJAX with Angular using $http service. This app converts the client side of our full stack jQuery SQL Book Manager application.
https://github.com/kdszafranski/prime-node-books/
- Set up an Angular application.
- Inject the $http service into your controller.
- Create functions tied to DOM and private.
- Use the $http service to make
GET
,POST
,PUT
, andDELETE
requests. - Use of body-parser
json()
method on server side. - Use
.then()
to fulfill the $http promise.